单项选择题
下面程序的运行结果是
# include <iostream.h>
void fun(int * a,int * b)
int x= * a;
* a= * b; * b=X;
cout << * a << * b<<" " ;
void main( )
int x=1, y=2;
fun (& x,& y);
cout < < X << y << endl;
A.12 12
B.12 21
C.21 12
D.21 21
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
以下各选项组中,均是C++语言关键字的组是
A.public operator this
B.shod string static
C.it while > =
D.private cout printf
点击查看答案&解析
单项选择题
下面程序的运行结果为 # include <iostream.h> class A int num; public: A(inti)hum=i; A(A&
A.num=a.num++;
点击查看答案&解析
相关试题
SQL语言又称为
可以用p.a的形式访问派生类对象p的基类成...
不能作为重载函数的调用的依据是
以下程序中,错误的行为 ① # include...
设int a=10,b= 11,c=12;,表...