c program to find largest element of an array

About this program

This program asks the user for array size and then takes input from the user.
If array size exceeds the maximum size, which is 20, it shows an error message.
After taking array elements from the user, it compares every element with one another and prints the largest element.

Code

Output

Find the largest or maximum element of an Array – C Program

Leave a Reply

Your email address will not be published. Required fields are marked *