程序参考#include <stdio.h>int main(){ FILE *f1,*f2,*f3; char buff[1024]; f1=fopen("t1.txt","r"); f2=fopen("t2.txt","r"); f3=fopen("t3.txt","w"); while(fgets(buff,1024,f1)) { fprintf(f3,buff); if (fgets(buff,1024,f2)) fprintf(f3,buff); } while(fgets(buff,1024,f2)) fprintf(f3,buff); fclose(f1); fclose(f2); fclose(f3); return 0;}结果t3内容为111AAA22222BBBBBB3333333CCCCCCCCDDDDDDDDDD