Multiple Choice
The difference between functions partition and stable_partition is that:
A) partition may throw an exception while stable_partition will not.
B) partition can only be called on a sequence that is already sorted.
C) stable_partition maintains the original order for the elements in each of the two resulting partitions with respect to the other elements in that same partition.
D) stable_partition allows an element to be duplicated and placed into both partitions.
Correct Answer:

Verified
Correct Answer:
Verified
Q8: Which of the following is the correct
Q14: Which of the following containers is not
Q15: The easiest way to set all the
Q20: The for_each function applies a general function
Q21: An STL algorithm cannot:<br>A) Return an iterator.<br>B)
Q21: Which of the following bitset member functions
Q22: Iterators are similar to pointers because of
Q23: The algorithms in the STL:<br>A) Use virtual
Q26: The _ function would produce the sequence
Q27: Which of the following is a not