#include "stdio.h"
FILE *fp;
main()
{
char ch;
if((fp=fopen("bi.dat","wb"))==NULL) exit(0);
while((ch=getchar())!='@') fputc(ch,fp);
fclose(fp);
}
程序中输入一个字符并回车后,有几个字符被写入bi.dat文件中了?