Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC++STL containers map set listSingle-choice MCQ

For a std::set<int> s, what does the return value of s.insert(x) tell you?

std::set<int> s = {1, 2, 3}; auto result = s.insert(2);