未分类题
以下程序的输出结果是main(){ int a=21,b=11; printf('%d\n',--a+b,--b+a);} A.30 B.31 C.32 D.33
A.30
B.31
C.32
D.33
【参考答案】
A
本题主要考查逗号运算符。在本题的程序中,首先定义两个整型变量a和b,并分别赋初值为21和11,然后用输出语句......
(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
A.They want to continue their negotiation in Hong Kong.B.They will push the US to drive down the global cotton price.C.They want the US to reform. its policies with the European Union.D.They hope the US will stop providing subsidies to its cotton farmers.
A.They
B.
B.They
C.
C.They
D.
D.They
E.
点击查看答案
未分类题
有如下程序#include 'stdio.h'void fun(int *a,int *b){ int m; m=(*a+*b)*(*a+*b); m+=(*a-*b)*(*a-*b); printf('%d\n',m);}main(){ int a=5,b=6,*x=&a,*y=&b; fun(x,y);}程序执行后输出的结果为A.120 B.121 C.122 D.123
点击查看答案
相关试题
当使用魔棒工具选择图像时,在“容差”数值...
在拼合图层时,会将暂不显示的图层全部删除...
显示与隐藏参考线快捷键是Ctrl+H()
采用该战略有可能面临哪些障碍?如何解决?
From this passage we can learn tha...