以下程序的输出结果是( )。 main { char w[][10]={"ABCD","EFGH","IJKL"," MNOP"),K; for(k=1;k<3;k++)printf("%s\n",w[k]);
A.ABCD FGH KL
B.ABCD EFG U
C.EFG JK O
D.EFGH UKL
第1题:
以下程序的输出结果是______。main(){ char w[] [10]={"ABCD","EFGH","IJKL","MNOP"),k; for(k=1;k<3;k++) printf("%s\n",w[k]);}
A.ABCD FGH KL M
B.ABCD EFG IJ
C.EFG JK O
D.EFGH UKL
第2题:
以下程序输出的结果为______。 main() { char*alpha[6]={"ABCD","EFGH","IJKL","MNOP","QRST","UVWX"}; char**p; int i; p=alpha; for(i=0,i<4;i++) prntf("%s",p[i]); }
A.ABCDEFGHIJKL
B.ABCD
C.ABCDEFGHIJKLMNOP
D.AEIM
第3题:
以下程序输出的结果为______。 main() { char*dlpha[6]={"ABCD","EFGH","IJKL","MNOP","QRST","UVWX"}; char*p; int i; p=alpha; for(i=0;i<4;iff) printf("%s",p[i]) }
A.ABCDEFGHIJKL
B.ABCD
C.ABCDEFGHIJKLMNOP
D.AEIM
第4题:
以下程序输出的结果为_______。 main() { char*alpha[6]={"ABCD","EFGH","IJKL","MNOP","QRST","UVWX"}; char**p; int i; p=alpha; for(i=0;i<4;i++) printf("%s",p[i]); }
A.ABCDEFGHIJKL
B.ABCD
C.ABCDEFGHIJKLMNOP
D.AEIM
第5题:
以下程序输出的结果为______。 main() { char *alpha[6]={"ABCD","EFGH","IJKL","MNOP","QRST","UVWX"); char **p; int i; p=alpha; for(i=0;i<4;i++) printf("%s",p[i]); }
A.ABCDEFGHIJKL
B.ABCD
C.ABCDEFGHIJKLMNOP
D.AEIM