Vidyalelo
C++ Programming · Q7

Standard Template Library (STL) in C++

Programming · C++ Programming · question 7

Q7

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

A.
To store elements in key-value pairs
Answer
B.
To store elements in a sorted sequence
C.
To store elements in a stack
D.
To store elements in a queue

Answer: Option A

Solution

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