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

4

B

3

C

2

D

5

程序运行统计
暂无判题统计
提交0次 正确率0.00%
答案解析