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

题目内容 (请给出正确答案)
下列程序的输出结果为 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.hello

B.the

C.world

D.hellotheworld


参考答案

更多 “ 下列程序的输出结果为 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 ” 相关考题
考题 下面程序的输出结果为______ include void main() {cout 下面程序的输出结果为______include<iostream.h>void main(){cout<<"Hello\b";}

考题 下列程序的输出结果是()。includeusing namespace std;int main()于chara[]=”Hello,Te 下列程序的输出结果是( )。 #include<iostream> using namespace std; int main() 于 chara[]=”Hello,Test”; Char*p=a; while(*p) { if(*p)=’a’*p(=’z’) cout<<char(*p+’A’-’a’); else cout<<*p; p++; } return 0; }A.hello,testB.Hello,TestC.HELLO,TESTD.hELLO,tEST

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

考题 下列程序的输出结果是( )。 include using namespace std; int main() { 下列程序的输出结果是( )。 #include<iostream> using namespace std; int main() { char a[]="Hello,Test"; char *p=a; while(*p) { if(*p>='a'*p<='z') cout<<char(*p+'A'-'a'); else cout<<*p; p++; } return 0; }A.hello,testB.Hello,TestC.HELLO,TESTD.hELLO,tEST

考题 下列程序的输出结果是()。includeusing namespace std;int main(){char a[]="Hello,Te 下列程序的输出结果是( )。 #include<iostream> using namespace std; int main() { char a[]="Hello,Test"; char *p=a; while(*p) { if(*p>='a'*p<='’z') cout<<char(*p+'A'-'a'); else cout<<*p; p++; } return 0; }A.hello,testB.Hello,TestC.HELLO,TESTD.hELLO,tEST

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

考题 下列程序的输出结果是()。includeusing namespace std;int main(){char a[]=""Hello,W 下列程序的输出结果是( )。 #include<iostream> using namespace std; int main() { char a[]=""Hello,World"; char*ptr = a; while(*ptr) { if(*ptr>= 'a' *ptr<='z') cout<<char(*ptr+'A'-'a'); else cout<<*ptr; ptr++; } retur 0; }A.HELLO, WORLDB.Hello, WorldC.HELLO, worldD.hello, world

考题 下列程序的输出结果是 include usingnamespacestd; int main () {chara []="Hello,W 下列程序的输出结果是 #include <iostream> using namespace std; int main () { char a [] = "Hello,World": char*ptr = a; while (*ptr) { if(*ptr>= 'a' *ptr <='z' cout<<char{*ptr+'A'-'a'); else cout<<*ptr; ptr++; } return 0; }A. HELLO. WORLDB. Hello, WorldC. hELLO, wORLDD. hello, world