第38319题 判断题
在C++中,两个字符串相加的运算符为+相当于字符串的合并运算。下面C++代码执行后,将输出 chenadai 。( )
string a="chen";
string b="a";
string c="dai";
string name=a+b+c;
cout<<name<<endl;
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
知识点:
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析