You are viewing a single comment's thread. Return to all comments →
string a; string b; cin>>a; cin>>b; cout<<a.size() << " "<<b.size()<<endl; cout<<a+b<<endl; char firstStringA = a[0]; char firstStringB = b[0]; a[0] = firstStringB; b[0] = firstStringA; cout<<a <<" "<<b; 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 →