Question d’entretien chez Microchip Technology

Write a function to find the max value in an array.