c program to get the minimum number in a given array