1.文章(内容为字符)的拷贝。即将源文件拷贝到目的文件,两个文件名均由命令行给出,源文件在前。#includestdio.h#includestdlib.hvoidmain(){FILE*in,*out;charch,infile[10],outfile[10];printf(inputtheinfilename:\n);scanf(%s,&infile);printf(inputtheoutfilename:\n);scanf(%s,&outfile);if((in=fopen(infile,r))==NULL){printf(can'topentheinfile\n);exit(0);}if((out=fopen(outfile,w))==NULL){printf(can'topentheoutfile\n);exit(0);}ch=fgetc(in);while(ch!=EOF){fputc(ch,out);ch=fgetc(in);}}