赞题库-背景图
单项选择题

当使用ofstream流类定义一个流对象并打开一个磁盘文件时,文件的默认打开方式为______。

A.ios base::in
B.ios_base::binary
C.ios_base::in|ios_base::out
D.ios_base::out