Vidyalelo
C++ Programming · Q14

Standard Template Library (STL) in C++

Programming · C++ Programming · question 14

Q14

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

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

Answer: Option A

Solution

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