单项选择题
下面的程序执行后,文件test.t中的内容是 ( ) 。
#include
void fun(char *fname,char *st)
{ FILE *myf;
int i;
myf=fopen(fname,"w");
for(i=0;i fclose(myf);}
void main()
{ fun("test.t","new world");
fun("test.t","hello,");
}
A.
hello,
B.
new,worldhello
C.
new,world
D.
hello,rld