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