‹ 上一题 下一题 ›

g3-03504. GESP-3级-2023-12-单选-第06题 未做

执行下面 C++ 代码后输出的是( )。

string str=("chen");
int x=str.length();
cout<<x<<endl;
  • A.
  • B.
  • C.
  • D.
未选择
输入
输出

            
答案