Vidyalelo
C++ Programming · Q9

Standard Template Library (STL) in C++

Programming · C++ Programming · question 9

Q9

What is the purpose of the 'std::set' container in C++ STL?

A.
To store unique elements in sorted order
Answer
B.
To store duplicate elements in sorted order
C.
To store unique elements in random order
D.
To store duplicate elements in random order

Answer: Option A

Solution

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