执行以下C++代码的输出结果是?
string str = ("chen");
int x = str.length();
int temp = 0;
for(int i=0; i<=x; i++) {
temp++;
}
cout << temp << endl;
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析