![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
有如下程序, 若文本文件f1.txt中原有内容为:good,则运...
有如下程序, 若文本文件f1.txt中原有内容为:good,则运行以下程序后文件f1.txt中的内容为 #include <stdio.h> int main() { FILE *fp1; fp1=fopen("f1.txt","w"); if (fp1 == NULL) { printf("cannot open the file.\n"); exit(0); } fprintf(fp1,"abc"); fclose(fp1); return 0; }
A、abc
B、goodabc
C、good
D、abcgood
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)