网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下列程序的输出结果为( )。 #include (iostream) using namespace std; void main( ) char,a[ ] = { "hello" ," the" ," world" }; char * * pa = a: pa + +; cout << * pa << ENDL; }

A.hello

B.the

C.world

D.hellotheworld


参考答案

更多 “ 下列程序的输出结果为( )。 #include (iostream) using namespace std; void main( ) char,a[ ] = { "hello" ," the" ," world" }; char * * pa = a: pa + +; cout << * pa << ENDL; }A.helloB.theC.worldD.hellotheworld ” 相关考题
考题 下列程序段的输出结果为()。includemain(){static char a[]="language";char*p;p=a;for 下列程序段的输出结果为( )。 #include<stdio.h> main() { static char a[]="language"; char*p; p=a; for(p=a;p<a+8;p+=2) putchar(*p); }A.1B.4C.9D.0

考题 下列程序段的输出结果为()。includemain(){static char a[]="language"; char*p; p=a; 下列程序段的输出结果为( )。 #include<stdio.h> main() { static char a[]="language"; char*p; p=a; for(p=a;p<a+8;p+=2) putchar(*p); }A.languageB.lnugC.有语法错误D.lang

考题 下列程序段的输出结果为()。 include main() {static char a[]="language"; char*p; p= 下列程序段的输出结果为( )。#include<stdio.h>main(){ static char a[]="language";char*p;p=a;for(p=a;p<a+8;p+=2)putchar(*p);}A.languageB.lnugC.有语法错误D.lang

考题 以下程序的输出结果是()。includeusing namespace std;void fun(char**q){++q;cout 以下程序的输出结果是( )。 #include<iostream> using namespace std; void fun(char**q) { ++q; cout<<*q<<end1; } main() { static char*s[]={"HI","HELL0","TEST"}; char**p; p=s; fun(p); system("PAUSE"); return 0; }A.为空B.HIC.HELL0D.TEST

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

考题 以下程序的输出结果是()。includeincludeusing namespace std;void func(cha 以下程序的输出结果是( )。 #include<iostream> #include<stdlib> using namespace std; void func(char **m) { ++m; cout<<*m<<endl; } main() { static char *a[]={"MORNING","AFTERNOON","EVENING"); char **n; n=a; func(n); system("PAUSE"); return 0; }A.为空B.MORNINGC.AFTERNOOND.EVENING

考题 下列程序的输出结果为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[]={"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*Str;str="testI";cout 下列程序的输出结果是( )。 #include<iostream.h> void main() { char*Str; str="testI"; cout<<str[5]; }A.test!B.testC.空字符D.异常