以下程序的输出结果为( )。 #include<stdio.h> main() { char *alpha[6]={"ABCDEFGH","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.ABCD
C.ABCDEFGHIJKLMNOPQRST
D.AEIM
第1题:
以下程序的输出结果为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
第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题:
以下程序的输出结果是【 】。
include <stdio.h>
include <string.h>
char *fun(char *t)
{ char *p=t;
return (p+strlen(t)/2);
}
main()
{ char *str="abcdefgh";
str=ftm(str);
puts(str);
}
第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*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