STL Quiz -1 , Q16

Shouldn’t answer be 4 instead of 5, since there are two {2,10} and multimap would allow only one pair?

Hey @deep4013 please also paste the question here, for which you have doubt it. As i don’t have questions in order.

Check this=>


Multimaps are associative containers that store elements formed by a combination of a key value and a mapped value , following a specific order, and where multiple elements can have equivalent keys.
You can read about multimap from here
http://www.cplusplus.com/reference/map/multimap/

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.