• 2021-04-14
    有以下函数:voidf(){FILE*fp;inti,n=0,k=0;fp=fopen(“source.txt”,”w”);for(i=0;i<5;i++)fprintf(fp,”%d”,i);fclose(fp);fp=fopen(“source.txt”,”r”);fscanf(fp,”%d%d”,&n,&k);printf(“%d,%d”,n,k);fclose(fp);}输出结果为()
  • 举一反三