What is the output of the following code if the input is: Pasadena Anaheim 2 string str1; string str2; char ch; int index; cin >> str1; cin >> str2; cin >> index; ch = str1[index]; str1[index + 2] = str2[index]; str2[index] = ch; cout << str1 << " " << str2 << endl;  简答题

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!