#include
main()
{FTLE,*fp;
charch,fname[32];intcount=0;
prinff("Inputthefilename:");seanf("%s",fname);
if((fp=fopen(____"W+"))==NULL)
{"prinff("Can'topenfile:%s\n",fname);exit(0);}
prinff("Enterdata;\n");
while((ch=getchar())!='#'){fputc(ch,fp);count++;}
fprintf(____,"\n%d\n",count);
fclose(fp);
}
【正确答案】:fllame; fp