C Program to find the largest element in an array using function call.


Sample Input
Enter the size of the array maximum up to 30: 4
Enter the 4 integer numbers: 2 5 1 4
Sample Output
The largest element is: 5

You may also like...

  • Elton Saraçi

    largest = find_largest(arr,size);

    Why cant we type ARR[] instead of just ARR as an argument?

  • Бексултан Халилов

    Thanks!Code was very useful