You have to solve a code which finds maximum element in an array. solve this issue. Input : arr[] = {10, 20, 4} Output : 20 Input : arr[] = {20, 10, 20, 4, 100} Output : 100
You have to solve a code which finds maximum element in an array. solve this issue.
Input : arr[] = {10, 20, 4}
Output : 20
Input : arr[] = {20, 10, 20, 4, 100}
Output : 100