C program to find maximum element in array using function

C program to find maximum element in array using function


Input:

Enter the number of elements:
5
Enter the elements:
1 2 3 4 5

Output:

The maximum number is 5

Implementation: