🔮 Output PredictionC+ C++ Hard⚡+35 XP
Move Semantics
After std::move, what is the state of s1?
C++
string s1 = "hello"; string s2 = move(s1); cout << s1.size();
After std::move, what is the state of s1?
string s1 = "hello"; string s2 = move(s1); cout << s1.size();