Vidyalelo
C++ Programming · Q206

C++ miscellaneous

Programming · C++ Programming · question 206

Q206

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

A.
sorts the elements of a sequence in ascending order preserving the relative order of equivalent elements
Answer
B.
sorts the elements of a sequence in descending order preserving the relative order of equivalent elements
C.
arranges the sequence randomly preserving the relative order of equivalent elements
D.
same as sort function of STL algorithm

Answer: Option A

Solution

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