how to find second largest number in array in c