题目内容
include"stdio.h"
main()
{FILE*I=fp;char ch;
if((fp=fopen("test.txt","w"))==NULL)
{printf("cannot open file\n");exit(0);}
ch=getchar();
while(ch!='$')
{fputc(ch,fp);putchar(ch);
ch=getchar();}
fclose(*fp);
}
错误:______
改正:______
参考答案:错误
查看答案
搜索结果不匹配?点我反馈