单项选择题

以下程序的输出结果为( )#include #include int main(){ ofstream outf("data.dat"); char p[]="Good Morning"; outf< outf.close(); ifstream inf("data.dat"); inf>>p; cout< return 0;} A. Good Morning B. G C. Good D. Morning