You are viewing a single comment's thread. Return to all comments →
using namespace std;
int main() {
string str1, str2; cin>>str1; cin >> str2; cout << str1.length()<< " " << str2.length()<<endl; cout <<str1+str2<< endl; char ch = str1[0]; str1[0]= str2[0]; str2[0]= ch; cout << str1 << " " << str2; 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 →
include
include
using namespace std;
int main() {
}