• 2022-06-16
    以下程序的功能是将文件file1.c的内容输出到屏幕上并复制到文件file2.c中。请填空。#include <;stdio.h>;int main( ){ _______; fp1=fopen("file1.c","r"); fp2=fopen("file2.c","w"); while(!feof(fp1))putchar(getc(fp1)); _______; while(!feof(fp1)) putc(______); fclose(fp1); fclose(fp2); return 0;}
  • 举一反三