网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
以下程序的输出结果是()。main(){char*a[][5]={“how”,”do”,”you”,”do”,”!”};char**p;inti;p=a;for(i=0;i<4;i++);printf(“%s”,p[i]);}()
A.howdoyoudo!
B.how
C.howdoyoudo
D.hdyd
参考答案
更多 “ 以下程序的输出结果是()。main(){char*a[][5]={“how”,”do”,”you”,”do”,”!”};char**p;inti;p=a;for(i=0;i A.howdoyoudo!B.howC.howdoyoudoD.hdyd ” 相关考题
考题
以下程序输出的结果为 ______。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.ABCDEFGHIJKLB.ABCDC.ABCDEFGHIJKLMNOPD.AEIM
考题
以下程序的输出结果为()。includemain(){ char *alpha[6]={"ABCDEFGH","IJKL","MNOP","
以下程序的输出结果为( )。 #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.ABCDEFGHIJKLB.ABCDC.ABCDEFGHIJKLMNOPQRSTD.AEIM
考题
以下程序输出的结果为_______。 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.ABCDEFGHIJKLB.ABCDC.ABCDEFGHIJKLMNOPD.AEIM
考题
下列程序的输出结果是______。 char*fun(char*str,int n) { int i; char*p=str; for(i=0;i<10;i++,str++) *str='a'+i; return++p; } main() { char a[10]; printf("%s\n",fun(a,10)); }A.ABCDEFGHIJB.abcdefghijC.bcdefghijD.不确定的值
考题
以下程序输出的结果为______。 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.ABCDEFGHIJKLB.ABCDC.ABCDEFGHIJKLMNOPD.AEIM
考题
以下程序的输出结果为main(){ char *alpha[6]={"ABCD","EFGH","IJKL","MNOP","QRST","UVWX"}; char **p; int i; p=alpha; for(i=0;i4;i++) printf("%s",p[i]); printf("\n");} A.ABCDEFGHIJKL B.ABCDC.ABCDEFGHIJKLMNOP D.AEIM
考题
以下程序输出的结果为______。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.ABCDEFGHIJKLB.ABCDC.ABCDEFGHIJKLMNOPD.AEIM
考题
以下程序运行后的输出结果是______。 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.8B.7C.6D.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.ABCDEFGHIJKLB.ABCDC.ABCDEFGHIJKLMNOPD.AEIM
热门标签
最新试卷