Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

min element in vector c++

*min_element (first_index, last_index);
//example
cout << "
Min Element = " << *min_element(a.begin(), a.end());
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #min #element #vector
ADD COMMENT
Topic
Name
3+4 =