单选题:有下列程序: #include<stdi0.h> intfun(intx,inyy){if(x==y)return(x) 题目分类:C++ 题目类型:单选题 查看权限:VIP 题目内容: 有下列程序: #include<stdi0.h> intfun(intx,inyy) {if(x==y)return(x); elsereturn((x+y)/2); } voidmain( ) {inta=4,b=5,c=6; printf("%d\n",fun(2*a,fun(b,c))); } 程序运行后的输出结果是( )。 A.3 B.6 C.8 D.12 参考答案: 答案解析:
有下列程序: #include<stdi0.h>voidmain( ) {char*a[]={"abed","ef", 有下列程序: #includevoidmain( ) {char*a[]={"abed","ef","gh","ijk");inti; 分类:C++ 题型:单选题 查看答案
有下列程序: #include<stdi0.h>voidmain( ) {inta=1,b=2,c=3,d=0; if 有下列程序: #includevoidmain( ) {inta=1,b=2,c=3,d=0; if(a==1&&b++==2)i 分类:C++ 题型:单选题 查看答案
It would seem to be a general truth______nothing is as stra It would seem to be a general truth______nothing is as straightforward as it at 分类:C++ 题型:单选题 查看答案
What does the man worry about? What does the man worry about?A.His study. B.His friends. C.His car. 分类:C++ 题型:单选题 查看答案
听下面一段对话料,回答:Where will the woman buy the bed? 听下面一段对话料,回答:Where will the woman buy the bed?A.At Design 2000. B.At Pricerit 分类:C++ 题型:单选题 查看答案