how to initialize a map data structure in c++ code example
Example: initialize map c++
std::map<std::string, int> mapOfMarks = {
{"Riti",2},
{"Jack",4}
};
std::map<std::string, int> mapOfMarks = {
{"Riti",2},
{"Jack",4}
};