All quizzes
C++ChallengePredict the output

The key "x" was never inserted. What is printed?

#include <iostream>
#include <map>
#include <string>
int main() {
    std::map<std::string, int> m;
    std::cout << m["x"] << " " << m.size() << std::endl;
}