Largest and smallest no of aaray

i am not understanding how are you using the function int max and min plz help me

There is nothing complex in that.
min and max are predefined functions used to the find the maxm, minm between two numbers.
Say if you wan to find the maximum element in an array, you can intitialize a variable to minimum possible value
Say int maxe= INT_MIN;
Now for all iterations you will update maxe by this statement
maxe=max(maxe,arr[i])

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.