Skip to content

Files

Latest commit

 

History

History

24

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Exercise 11.24

What does the following program do?

map<int, int> m;
m[0] = 1;

Solution

It creates an empty map of int to int, then adds an element with key 0 and value 1.