#2724. [GESP202312 三级 C++] 第 6 题
[GESP202312 三级 C++] 第 6 题
执行下面C++代码后输出的是( )。
string str=("chen");
int x=str.length();
cout<<x<<endl;
{{ select(1) }}
- 4
- 3
- 2
- 5
执行下面C++代码后输出的是( )。
string str=("chen");
int x=str.length();
cout<<x<<endl;
{{ select(1) }}