C Program to Find the Largest and Smallest Element in Array

OUTPUT: