>
其他
>
#include #define f(x) x*x main() {int a=6,b=2,c; c=f(a)/f(b); printf("%d\n",c); }
为什么上面的程序输出结果为36
人气:349 ℃ 时间:2020-06-07 20:25:01
解答
#define会代入
c=f(a)/f(b);
变成c=a*a/b*b;
即6*6 / 2 * 2
36 / 2 * 2
18 * 2
36
推荐
小明买了80分和2元的邮票共16枚,花了18元8角,若设他买了80分的邮票x枚,则可列方程( ) A.80x+2(16-x)=188 B.80x+2(16-x)=18.8 C.0.8x+2(16-x)=18.8 D.8x+2(16-x)=
已知等差数列{An}中的公差D=6,且An=22,前n项和Sn=28求a1和n
物理:飞机在两城市间飞行,顺风时需2小时30分,逆风时需多用半小时,若风速为30km/h,求两城市间距离.
若X是整数,求证:(X+2)(X+4)(X+6)(X+8)+16是一个完全平方数
Do I have to ____(turn) off all the lights when I ____ (leave)?
In a marathon race,what does the winner loes?
What are you good at cooking?What is your favourite dish?的回答
我国古代劳动人民发明和使用的农具中,不直接使用人力或畜力为动力的是( ) A、耧车 B、翻车 C
猜你喜欢
已知f x 是一次函数且f(-1)=7,f(2)=5,求f(x)的解析式
六年级下册语文综合复习的《生活是多么广阔》的第二题
以一丝不苟的反义词
填上“+”“-”,使等式成立
给昔日同学写一封信.英语
生物共同具有的生命活动是 细胞分裂 还是 繁殖后代 为什么
把一根长度为5的铁丝截成任意长的3段,则能构成三角形的概率为( ) A.12 B.34 C.45 D.14
3.51除以27列式计算
© 2024 79432.Com All Rights Reserved.
电脑版
|
手机版