单选题

有以下程序

#include <stdio.h>

main()

{

   FILE*f; 

   f=fopen("filea.txt", "w"); 

   fprintf(f, "abc"); 

   fclose();

}

若文本文件filea.txt中原有内容为:hello,则运行以上程序后,文件filea.txt中的内容为(    )

A

-1

B

0

C

1

D

7

赣ICP备20007335号-2