单选题:有下列程序: #include<stdi0.h>#definePT3.5; #defineS(x)PT*x*x; voi 题目分类:C++ 题目类型:单选题 查看权限:VIP 题目内容: 有下列程序: #include<stdi0.h> #definePT3.5; #defineS(x)PT*x*x; voidmain( ) (inta=1.b=2;printf("%4.1f\n",S(a+b));} 程序运行后的输出结果是( )。 A.14.0 B.31.5 C.7.5 D.程序有错,无输出结果 参考答案: 答案解析:
有下列程序: #include<stdi0.h>voidmain( ) {intx; scanf(”%d”,&x); 有下列程序: #includevoidmain( ) {intx; scanf(”%d”,&x); if(x<=3);elsei 分类:C++ 题型:单选题 查看答案
What have the speakers nearly forgotten to buy? What have the speakers nearly forgotten to buy?A.A bedside table. B.A dining tab 分类:C++ 题型:单选题 查看答案
What does“adult”mean in“Ticket:Adult£10”? What does“adult”mean in“Ticket:Adult£10”?A.A ticket to the show. B.A person over 分类:C++ 题型:单选题 查看答案
Why didn’t Frank buy the large car? Why didn’t Frank buy the large car?A.It wouldn’t last longer than his old Car. 分类:C++ 题型:单选题 查看答案
执行下列程序后,w的值为( )。 intw='A',x=14,y=15; w=((x‖y)&&(w<'a')); 执行下列程序后,w的值为( )。 intw='A',x=14,y=15; w=((x‖y)&&(w<'a')); A.-l B.NULL C.1 D.0 分类:C++ 题型:单选题 查看答案