Pregunta de entrevista de Garmin

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