C++ CPP
C++ Institute Certified Professional Programmer (CPP-22-02)
Cpp Cpp StringEnglish
Exam overviewPractice session
What does this code print? #include <iostream> #include <string> int main() { std::string s = "hello"; s.replace(1, 3, "XYZ"); std::cout << s; }
Loading your practice session…