0) fun (si, s2);\r" /> 0) fun (si, s2);\r" />

全文预览

c题库填空题目

上传者:upcfxx |  格式:pdf  |  页数:72 |  大小:11492KB

文档介绍
include<stdio. h>\rmain ()\r{ static char si [20],s2[20], s3[20];\rchar fun ();\rprintf(^?A_` #\n^)b\rscanf ("%s”, si);\rscanf ("%s”, s2);\rs c a n f s 3 ) ;\rif (strcmp (si, s2) >0) fun (si, s2);\rif (strcmp (si, s3) >0) fun (si, s3);\rif (strcmp (s2, s3) >0) fun (s2, s3);\rprintf ("f\nghi#\n%s\n%s\n%s\n00j si, s2, s3);\rgetchO ;\ryzj 0 ;\r)\rchar fun (char *pl,char *p2)\r{\r/ **********Prograiii**********/\r/********** End **********/.\ryzj()\r(\rFILE *IN, *OUT;\rin t m, n;\rin t i[2] [200];\rin t o;\rIN=fopen ("in. dat", " r " ) ;\rif(IN==NULL)\r{printf("R ead F ile E rror");\r)\r0UT=fopen ("out. dat", "w ");\ri f (0UT==NULL)\r{printf("W rite F ile E rro r");\r)\rfor(m=0;m<5;m++)\rfor(n=0;n<2;n++)

收藏

分享

举报
下载此文档