Show the output of the following code (the replaceString function is defined in Listing).
string s(”abcdabab”), o1dSubStr(”ab”), newSubStr(”AAA”); rep1aceString(s, oldSubStr, newSubStr); cout << s << end⌉;
ReplaceString.cpp

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.