Answers for "how to get max number from a array in c++"

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 "how to get max number from a array in c++"

Browse Popular Code Answers by Language