以下程序输出的结果为______。 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.ABCDEFGHIJKLB.ABCDC.ABCDEFGHIJKLMNOPD.AEIM

以下程序输出的结果为______。 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


相关考题:

以下程序输出的结果是#includestdio.h#includestring.hmain(){ char w[][10]={"ABCD","EFGH","IJKL","MNOP"},k;for(k=1;k3;k++) printf("%s\n",w[k][k]);}A.ABCD FGH KLB.ABC EFG IJ MC.EFG JK 0D.FGH KL

下面程序的输出结果是【】。char b[]="ABCD";main(){char b[30];strcpy(b[0],"GH");strcpy(main(){char b[30];strcpy(b[0],"GH");strcpy(b[1],"GH");strcpy(b[2],"GH");printf("%s\n",b);}

有如下程序main(){ char s[]="ABCD", *p;for(p=s+1; p该程序的输出结果是A.ABCDBCDCDDB.ABCDC.BCDD.BCDCDD

以下程序的输出结果是( )。main{ char w[][10]={ABCD,EFGH,IJKLABCD,EFGH,IJKL,MNOP),K;for(k=1;k3;k++)printf(%s\n,w[k]);A.A.ABCD FGH KLB.ABCD EFG UC.EFG JK OD.EFGH UKL

以下程序输出的结果为 ______。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

以下程序输出的结果是includeincludemain(){ char w[][10]={"ABCD","EFGH" 以下程序输出的结果是 #include<stdio.h> #include<string.h> main() { char w[][10]={"ABCD","EFGH","IJKL","MNOP"},k; for(k=1;k<3;k++) printf("%s\n",w[k][k]);}A.ABCD FGH KLB.ABC EFG U MC.EFG JK OD.FGH KL

以下程序的输出结果是( )。 main { char w[][10]={"ABCD","EFGH","IJKL"," MNOP"),K; for(k=1;k3;k++)printf("%s\n",w[k]);A.ABCD FGH KLB.ABCD EFG UC.EFG JK OD.EFGH UKL

以下程序的输出结果是 ( ) main( ) { char w[] [10]={"ABCD","EFGH","IJKL","MNOP"},k; for (k=1,k<3;k+ +)printf("%s\n",w[k]); }A.ABCD FGH KLB.ABC EFG IJ MC.EFG JK OD.EFGH IJKL

若有如下程序:include using namespace std;int main(){ char *p="abcdefgh",*r; lon 若有如下程序: #include <iostream> using namespace std; int main() { char *p="abcdefgh",*r; long *q; q=(long *)p; q++; r=(char *)q; cout<<r<<end1; return 0; } 上述程序的输出结果是( )。A.abcdefghB.0C.abcdD.efgh

以下程序的输出结果为()。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

有以下程序includemain(){char*a[]={"abcd","ef","gh","ijk"};int i; for(i=0;i 有以下程序 #include<stdio.h> main() { char*a[]={"abcd","ef","gh","ijk"}; int i; for(i=0;i<4;i++) printf("%c",*a[i]); } 程序运行后的输出结果是______。A.ageiB.dfhkC.abcdD.abcdefghijk

以下程序的输出结果是【】。 include viod main() {char sl[5]= "ABCD", s2=[5];int k 以下程序的输出结果是【 】。include<iostream. h>viod main() {char sl[5]= "ABCD", s2=[5];int k;for(k=0;k<4:k++)s2[k]=(sl[k]- '0' +1) + '0' ;s2[k]= '\0' ;cout<<s2;

以下程序的输出结果是 ______。includevoid main() {char w[][10]={ "ABC", "DEFGH" 以下程序的输出结果是 ______。 #include<iostream.h> void main() { char w[][10]={ "ABC", "DEFGH", "IJKL" , "MNOP" }; int k; for (k=1 ;k<3 ;k++) cout<<w[k]<< " " }A.ABC FGH KLB.ABC EFG IJ MC.EFG JK 0D.DEFGH IJKL

下面程序的输出结果是 ( ) char b[]="ABCD"; main() { char * chp; for ( chp=b; * chp;chp + =2 )printf("%s",chp); print{("\n"); }A.ABABCDB.ABCDABC.ABCDDD.ABCDCD

以下程序:includeincludemain(){char str[]="abcd\n\123\xab";printf("%d" 以下程序: #include<stdio.h> #include<string.h> main() {char str[]="abcd\n\123\xab"; printf("%d",(str)); } 运行后的输出结果是( )。A.10B.9C.7D.14

以下程序段的输出结果是 ______。includevoid main(){ char*p[5]={"ABCD","EF","GHI 以下程序段的输出结果是 ______。 #include<iostream.h> void main(){ char*p[5]={"ABCD","EF","GHI","JKL","MNOP"}; char **q=p; int i; for(i=0;i<=4;i++) cout<<q[i]; }A.ABCDEFGHIJKLB.ABCDC.ABCDEFGHIJKMNOPD.AEGJM

以下程序的输出结果为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

下列程序的输出结果为includevoid main(){char*a[]={"hello","the","world"};char* 下列程序的输出结果为 #include<iostream.h> void main() { char*a[]={"hello","the","world"}; char**pa=a; pa++; cout<<*pa<<end1; }A.helloB.theC.worldD.hello the world

阅读以下程序,写出程序运行后的输出结果是 ______。includevoid main(){ char a[]={ 阅读以下程序,写出程序运行后的输出结果是 ______。 #include<iostream.h> void main(){ char a[]={'H','e','r','1',‘o’,'\0'}; int i, j; i=sizeof(a)/sizeof(char); j=strlen(a) cout<<i<<' '<<j; }A.6 6B.5 6C.1 5D.6 5

以下程序的结果是 include void main( ) { char * p="abcdefgh",* r; long * 以下程序的结果是 #include<iostream.h> void main( ) { char * p="abcdefgh",* r; long * q; q=(long * )p; q++; r=(char * )q; cout < < r < < end1;}A.defgB.cdefC.ghabD.efgh

以下程序的结果是()。includevoid main(){char*p="abcdefgh",*r;long*q;q=(1ong*)P; 以下程序的结果是( )。 #include<iostream.h> void main() {char*p="abcdefgh",*r; long*q; q=(1ong*)P; q++; r=(char*)q; cout<<r<<endl;=A.defgB.cdefC.ghabD.efgh

有程序:CHARACTER*4A,B*6A=‘ABCD’B=A∥‘EFGH’WRITE(*,*)BEND此程序执行后的输出结果为:()A、ABCDEFGHB、ABCDEFC、ABCDD、EFGH

单选题有程序:CHARACTER*4A,B*6A=‘ABCD’B=A∥‘EFGH’WRITE(*,*)BEND此程序执行后的输出结果为:()AABCDEFGHBABCDEFCABCDDEFGH

单选题有以下程序:#include #include main(){ char *mm[4]= {abcd, 1234, mnop, 5678}; char **pm= mm; int i; for(i=0;i4;i++) printf(%s,pm[i]+i); printf();}程序的运行结果是(  )。Aabcd1234mnop5678Babcd234op8Ca2o8Da1m5

单选题有以下程序:#include main(){ char *a[]={abcd,ef,gh,ijk}; int i; for(i=0;i4;i++)printf(%c,*a[i]);}程序运行后的输出结果是(  )。AaegiBdfhkCabcdDabcdefghijk

单选题有以下程序:#include main(){  char *s[6]={ABCD,EFGH,IJKL,MNOP,QRST,UVWX},**p; int i; p=s;  for(i=0;i4;i++)printf(%s,p[i]); printf();}程序运行后的输出结果是(  )。AABCDEFGHIJKLMNOPBABCDEFGHHKLCABCDDAEIM