[单选题]

下列程序的输出结果为includevoid main( ){char * a[ ]={"hello","the","world"};c

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

A.hello

B.the

C.world

D.hellotheworld

参考答案与解析:

相关试题

下列程序的输出结果为#includevoid main( ){char * a[

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

  • 查看答案
  • 下列程序的输出结果为#includevoid main(){char*a[]={

    [单选题]下列程序的输出结果为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*st

    [单选题]下列程序的输出结果是()。includevoid main(){char*str=”12123434”;int x1=0,x2=0,x下列程序的输出结果是( )。 #include<iostream.h> void main() {char*str=”12123434”; int x1=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!=’/0’;i++) switch(str[i]) {case’1’:x4++; case’2’:x3++; case’3’:x2++; ca

  • 查看答案
  • 下列程序的输出结果是()。#includevoid main(){char*St

    [单选题]下列程序的输出结果是()。includevoid main(){char*Str;str="testI";cout<

  • 查看答案
  • 下列程序的输出结果是#includevoid main( ){char*str=

    [单选题]下列程序的输出结果是includevoid main( ){char*str="12123434";int xl=0,x2=0,x3=下列程序的输出结果是 #include<iostream.h> void main( ) {char*str="12123434"; int xl=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!='/0';i++) switch(str[i]) {case'1':x4++; case'2':x3++; case'3'

  • 查看答案
  • 下述程序的输出结果是()。#includevoid main(){char a=

    [单选题]下述程序的输出结果是()。includevoid main(){char a=1,b=2;char c=a^b<<2;printf("/n%下述程序的输出结果是( )。 #include<stdio.h> void main() {char a=1,b=2; char c=a^b<<2; printf("/n%d",C); }A.9B.10C.12D.2

  • 查看答案
  • 下述程序的输出结果是()。#includevoid main(){char a=

    [单选题]下述程序的输出结果是()。includevoid main(){char a=3,b=1;char c=a^b<<2;printf("%d"下述程序的输出结果是( )。 #include<stdio.h> void main() {char a=3,b=1; char c=a^b<<2; printf("%d",C; }A.1B.7C.3D.2

  • 查看答案
  • 下列程序的输出结果是#includevoid main(){char*str="

    [单选题]下列程序的输出结果是includevoid main(){char*str="12123434";int x1=0,x2=0,x3=0下列程序的输出结果是 #include<iostream.h> void main() {char*str="12123434"; int x1=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!='/0';i++) switch(str[i]) {case'1':x4++; case'2':X3++; case'3':

  • 查看答案
  • 下列程序的输出结果是#includevoid main(){char*str="

    [单选题]下列程序的输出结果是includevoid main(){char*str="12123434"; int x1=0,x2=0,x3=下列程序的输出结果是 #include<iostream.h> void main() { char*str="12123434"; int x1=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!=‘/0’;i++) switch(str[i]) { case'l':x4++; case'2':X3++; case'3':

  • 查看答案
  • 以下程序的输出结果是#includevoid main( ){char x=04

    [单选题]以下程序的输出结果是includevoid main( ){char x=040;cout < < (X < < 1) ;}A.100以下程序的输出结果是 #include<iostream.h> void main( ) { char x=040; cout < < (X < < 1) ;}A.100B.80C.64D.32

  • 查看答案
  • 下列程序的输出结果为#includevoid main( ){char * a[