Vidyalelo
C++ Programming · Q690

C++ miscellaneous

Programming · C++ Programming · question 690

Q690

What is the property of partial sort function provided by the STL algorithm?

A.
sorts the elements before the middle element in ascending order and remaining elements are left without any specific order
Answer
B.
sorts the elements before the middle element in descending order and remaining elements are left without any specific order
C.
sorts the elements after the middle element in ascending order and remaining elements are left without any specific order
D.
sorts the elements after the middle element in descending order and remaining elements are left without any specific order

Answer: Option A

Solution

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