map<float, float> map1;
//using insert function
map1.insert({ 56.4, 67.2 });
//Using Emplace Function, it increases the size of the map by 1
map2.emplace(3, 78.4);
//using subscript [], it also increases the size of the map by 1
//it always assigns a Null value if a value is not mapped to our key
map3['x'] = 54.3; //x is key
mymap.insert ( std::pair<char,int>('a',100) );
std::map<TypeA, TypeB> my_map; // TypeA key; TypeB value
my_map.insert({ key, value }); // insert elements in random order
// initialize container
map<int, int> mp;
// insert elements in random order
mp.insert({ 2, 30 });
mp.insert({ 1, 40 });
mp.insert({ 3, 60 });