Question d’entretien chez Garmin

Write a function in C to find the difference between the maximum and minimum values in an array