#include"stdio.h"
voidf(char*str,intn,FILE*fp)
{intk;
for(k=0;k
____;
if(*(str+k)=='\n')
{____;break;}
}
____='\0';
return:
}
【正确答案】:*(str+k)=fgetc(fp) k++ *(str+k)
voidf(char*str,intn,FILE*fp)
{intk;
for(k=0;k
____;
if(*(s">
voidf(char*str,intn,FILE*fp)
{intk;
for(k=0;k
____;
if(*(s">