Answers for "inbuilt function to max element in array for cpp"

C++
4

max element in array c++ stl

*max_element (first_index, last_index);
ex:- for an array arr of size n
*max_element(arr, arr + n);
Posted by: Guest on May-21-2020

Code answers related to "inbuilt function to max element in array for cpp"

Browse Popular Code Answers by Language