a) sorts the elements of a sequence in ascending order preserving the relative order of equivalent elements
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
Meghna MittalBegginer
a
Explanation: stable sort is used to sort the elements of a sequence also preserving the relative order of the equivalent elements.