单项选择题
下列程序的输出结果为
#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.以上都不对
点击查看答案&解析
相关试题
下面程序的运行结果为 #include<iostrea...
下面程序的输出结果是 #include<iostrea...
下列程序的输出结果是 #include<iostrea...
下列关于多态性的描述,错误的是
类的析构函数的作用是