[单选题]

若要向一个文件的末尾添加数据。则需使用的打开方式是(  )。

A.ios_base::in

B.ios_base::out

C.ios_base::add

D.ios_base::trunk

参考答案与解析: