Question d’entretien chez ANZ

Write a program to check max element in the array from a given position,