11、strcmp(str[0],str[1])? S 12、600 13、1001 14、15 I+8 15、6
三、判断题
1—5 错对对对对 6—10 错对错错错 11—12对对
四、程序填空
1、i=0 n/2-1 2、i 4、i=0 n-1 5、min=a[0] k=i max=a[0] j=i 6、flag=0 flag==0 a[i][j]=‘‘ 7、int i; for(i=n;i 12、b[j][i]=a[i][j] 14、scanf(―%s‖,c[i]); p=I; j=i+1 strcmp(c[j],c[i]) 五、综合应用 2、1 3 4 5 3、0 1 2 3 4 4、a[I]>b[j] j<5 I<3 5、break x!=a[I] 6、void f(int a[],int n) {int I,t; for(I=0;I {t=a[I]; a[I]=a[n-I]; a[n-I]=t;}} 7、 1 2 3 4 5 8、10010 18、(I=strlen(a);I>=I;I--) a[I+1]=a[I] 19、(strcmp(str[0],str[1]))<0?str[0]:str[1] s 20、#&*&% 26