下面的程序执行后,文件test中的内容是
#include 
#include 
void Fun(char *fname,char *st)

    FILE *myf; int i;
    myf=fopen(fname,"w" );
    if (myf == NULL)
    {
        printf("cannot open the file.\n");
        exit(0);
    }
     
   for(i=0;i    {
        fputc(st[i],myf);
   }
    
   fclose(myf);
}
 
int main()

    Fun("test","new world"); 
    Fun("test","hello");
    return 0;
}

A、hello
B、new worldhello 
C、new world 
D、hello rld