Garmin Interview Question

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