第20218题 单选
执行下列C++代码后输出结果是
string str=("chen");
int x=str.length();
cout<<x<<endl;
A

4

B

3

C

2

D

5

提交0次 正确率0.00%
答案解析