试题与答案

程序中头文件typel.h的内容是:  #define N 5  #define M

题型:单项选择题

题目:

程序中头文件typel.h的内容是:  #define N 5  #define M1 N*3  程序如下:  #include"typel.h"  #define M2 N *2  main( )  { int i;   i=M1+M2; printf("%d\n",i);  }  程序编译后运行的输出结果是( )。

A.10

B.20

C.25

D.30

答案:

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

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

参考答案:A, B, C, D

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