单项选择题
下列程序的输出结果为( )。
#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
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
C++语言本身没有定义I O操作,使用I O流的程序需要包括( )。
A.stdio.h
B.istream.h
C.ostream.h
D.iostrcam.h
点击查看答案&解析
单项选择题
下面程序的运算结果为 ( )。 #include < iostream > using namespace ~td; int i; int fun( ) static int i = 10; return + + i; void main ( ) fun( ); cout <<fun() << , <<i;
A.10,100
B.12,100
C.12,12
D.11,100
点击查看答案&解析
相关试题
在下面程序中,括号里应填( )。 #incl...
如下的类定义,括号里应填( )。 class...
对下面程序描述正确的是( )。 #includ...
在重载运算符函数时,下面运算符必须重载为...
语句while(!E)中的表达式!E等价于( ...