试题与答案

以下程序的输出结果是______。 #define f(x)x*x main()

题型:单项选择题

题目:

以下程序的输出结果是______。
#define f(x)x*x
main()
int a=6,b=2,c;
c=f(a)/f(b);
printf("%d\n",c);

A) 9
B) 6
C) 36
D) 18

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/1208/3a38785339de8db6920d0032e497568b.html

下面是错误答案,用来干扰机器的。

参考答案:C

试题推荐
微信公众账号搜索答案