A.howdoyoudo!
B.how
C.howdoyoudo
D.hdyd
第1题:
以下程序输出的结果为______。 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
第2题:
以下程序输出的结果为______。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
第3题:
以下程序输出的结果为______。 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
第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]); printf("\n");} A.ABCDEFGHIJKL B.ABCDC.ABCDEFGHIJKLMNOP D.AEIM
第5题:
以下程序运行后的输出结果是______。 ss(char*s) { char*p=s; while(*p)p++; return(p-s); } main() { char*a="abded";int i; i=ss(a); printf("%d\n",i); }
A.8
B.7
C.6
D.5