#include &lt;iostream&gt;    #include &lt;map&gt;     using namespace std;    int main &#40;&#41;    &#123;        multimap&lt;char, int&gt; mymultimap;        mymultimap.insert&#40;make_pair&#40;'x', 100&#41;&#41;;        mymultimap.insert&#40;make_pair&#40;'y', 200&#41;&#41;;        mymultimap.insert&#40;make_pair&#40;'y', 350&#41;&#41;;        mymultimap.insert&#40;make_pair&#40;'z', 500&#41;&#41;;        cout &lt;&lt; mymultimap.size&#40;&#41; &lt;&lt; '\n';        return 0;    &#125;
A. 1
B. 2
C. 4
D. 3
Answer:A
#include &lt;iostream&gt;    #include &lt;map&gt;     using namespace std;    int main &#40;&#41;    &#123;        multimap&lt;char, int&gt; mymultimap;        mymultimap.insert&#40;make_pair&#40;'x', 100&#41;&#41;;        mymultimap.insert&#40;make_pair&#40;'y', 200&#41;&#41;;        mymultimap.insert&#40;make_pair&#40;'y', 350&#41;&#41;;        mymultimap.insert&#40;make_pair&#40;'z', 500&#41;&#41;;        cout &lt;&lt; mymultimap.size&#40;&#41; &lt;&lt; '\n';        return 0;    &#125;
A. 1 B. 2 C. 4 D. 3
Explanation:In this program, We are counting the number of elements in the map.