若目前D盘根目录下并不存在test. txt文件,则下列打开文件方式不会自动创建test.txt文件的是()。
A) ifstream fin; fin. open("d:\test.txt", ios_base::in);
B) fstream fio; fio. open("d:\test. txt", ios_base::out);
C) ofstream fout; fout. open("d:\test. txt", ios_base::out);
D) ofstream fout; fout. open("d:\test. txt", ios_base::app);
请帮忙给出正确答案和分析,谢谢!