Google News
logo
CPP - Quiz(MCQ)
Which container can have the same keys?
A)
multimap
B)
map
C)
set
D)
unordered map

Correct Answer :   multimap


Explanation : C++ provide multimap container that is used to make map that can contain same keys i.e. {a: 5} and {a:10} both can exist.

Advertisement