Vidyalelo
C++ Programming · Q10

Standard Template Library (STL) in C++

Programming · C++ Programming · question 10

Q10

What does the 'std::reverse' algorithm do in C++ STL?

A.
Reverses the order of elements in a range
Answer
B.
Sorts the elements in descending order
C.
Finds the maximum element in a range
D.
Finds the minimum element in a range

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board