单项选择题

下列程序的输出结果为
#include<iostream.h>
void main()

char*a[]="hello","the","world";
char**pa=a;
pa++;
cout<<*pa<<end1;

A.hello
B.the
C.world
D.hello the world
<上一题 目录 下一题>
热门 试题

单项选择题
下列程序的执行结果为 #include<iostream.h> void main() int a=3,b=0; int * p=&a; b=+a++; cout<< * p<<”,” <<b<<endl;
A.3,4
B.4,3
C.3,4
D.4,4
(15)下
单项选择题
当使用fstream流类定义一个流对象并打开一个磁盘文件时,文件的隐含打开方式为
A.ios∷in
B.ios∷out
C.ios∷in,|ios∷out
D.以上都不对
相关试题
  • 对于下面定义的类My Class,请在函数f()...
  • 类模板的使用实际上是将类模板实例化成一个...
  • 继承的方式有公有继承、私有继承和 【13...
  • 表达式operator+(x,y)还可以表示为 【...
  • C++语言的参数传递机制包括传值和传地址...