You are viewing a single comment's thread. Return to all comments →
without any extra effort.
int main() { // Complete the program string stfirst,stSecond; cin>>stfirst>>stSecond; cout<<stfirst.size()<<" "<<stSecond.size(); cout<<endl<<stfirst + stSecond; char ch = stSecond[0]; stSecond[0] = stfirst[0]; stfirst[0] =ch; cout<<endl<<stfirst <<" " <<stSecond; return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Strings
You are viewing a single comment's thread. Return to all comments →
without any extra effort.