单选题:有以下程序: #include(iostream.h)voidfun(inta,intb,intc){a=456,b=5

  • 题目分类:C++
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
有以下程序:
#include(iostream.h)
voidfun(inta,intb,intc)
{a=456,b=567,C=678;}
voidmain(  )
{
intx=10,y=20,z=30;
fun(x,Y,z);
cout<<x<<','<<y<<','<<Z<<endl;
}
输出结果是(  )。 A.30,20,10
B.10,20,30
C.456,567,678
D.678,567,456

参考答案:
答案解析:

设有宏定义“#definelsDIV(k,n)((k%n==1?1:0)”且变量m已正确定义并赋值,则宏调用“lsDIV

设有宏定义“#definelsDIV(k,n)((k%n==1?1:0)”且变量m已正确定义并赋值,则宏调用“lsDIV(m,5)&&IsDIV(m,7)”为真

查看答案

What can we learn from the text?

What can we learn from the text?A.Personality decides everything. B.Sharing is

查看答案

I bought this computer two weeks ago,but it isn’t working as

I bought this computer two weeks ago,but it isn’t working as it______. A.can B.w

查看答案

一I can’t find my pencil!——__________is on the desk.

一I can’t find my pencil!——__________is on the desk.A.Mine B.Yours C.Your

查看答案

On the show,you can pay£5 for_________.

On the show,you can pay£5 for_________. A.taking a photo with an artist B.geeing

查看答案