第23539题 判断
判断以下C++代码能否将字符串'Hello'写入文件data.txt
ofstream file("data.txt"); 
cout << "Hello" << endl; 
file.close();
A

正确

B

错误

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