1.

What is the output of this program?
#include <iostream>
#include <map>
using namespace std;
int main ()
{
multimap<char, int> MultimapData;
MultimapData.insert(make_pair('P', 150));
MultimapData.insert(make_pair('Q', 250));
MultimapData.insert(make_pair('Q', 300));
MultimapData.insert(make_pair('R', 450));
cout << MultimapData.size() << ' n';
return 0;
}

A. 150
B. 250
C. 300
D. 450
E. 4
Answer» F.


Discussion

No Comment Found

Related MCQs