#define SUB(a) (a)-(a) main() { int a=2,b=3,c=5,d;
d=SUB(a+b)*c;
printf("%d\n",d);
}
人气:252 ℃ 时间:2020-06-26 15:47:40
解答
d=SUB(A+B)*C //a=a+b
d=(a+b)-(a+b)*c //没有括号把前面括起来,因为这是define定义的宏的特点
d=5-5*5=-20
推荐
- #define add(x) x*x main(){int a=4,b=6,c=7,d=add(a+b)*c;printf("d=%d\n",d);}怎样分析?
- 鱼虱子为什么能浮在水面上?请用物理知识回答.
- 味觉和嗅觉感受器均感受什么信息,两者相互影响形成味觉
- After having been wounded towards the end of the war,he had been sent to hospital and was separated from his unit.
- 含税收入1000,计算不含税收入:1000/(1+0.17),括号中的“1“是什么意思?
- 16-70-20轮胎,几组数字代表什么意思?谢谢
- 李大钊抬起头,眼睛里好像陪着火苗一般.这句话是对李大钊什么和什么的描写?
- you need to study hard tomake)your dream come true.
猜你喜欢