InterviewSolution
Saved Bookmarks
| 1. |
Which container is used to store elements as key-value pair?(a) map(b) multimap(c) unordered map(d) all of the mentionedThis question was addressed to me in final exam.The doubt is from More Containers in chapter Class Hierarchies, Library & Containers of C++ |
|
Answer» CORRECT choice is (d) all of the mentioned Easy EXPLANATION - C++ provides these three CONTAINERS(map, MULTIMAP and unordered map) to store ELEMENTS as key-value pair. |
|