1.

Which function is used to return the minimum element in the range?(a) min(b) minimum(c) min_element(d) max_elementThe question was posed to me in an online quiz.The query is from Min and Max topic in portion Algorithms, Objects & Iterators in C++ of C++

Answer»

Correct choice is (C) min_element

The explanation is: The min_element is USED to compare the range of elements and it can FIND out the MINIMUM ELEMENT.



Discussion

No Comment Found

Related InterviewSolutions