判断题

下面C++代码实现将 Hello 写入 data.txt 。(    )

ofstream out("data.txt");
out << "Hello";
out.close();
A 正确
B 错误
赣ICP备20007335号-2