下列程序执行后,输出的结果是( )#include#define EX(y) 3.66+y#define PRINT(x) printf (“%d”,(int)(x))void main (){int m=4;PRINT(EX(5)*m);}
A. 23
B. 20
C. 10
D. 0
下列程序执行后,输出的结果是( )#include #define SQR(x) x*xvoid main( ){int a=10,k=2,m=1;a/=SQR(k+m)/SQR(k+m);printf(“%d”,a);}
A. 10
B. 1
C. 9
D. 0
下列程序执行后,输出的结果是( )#include #define N 2#define M N+2#define CUBE(x) (x*x*x)void main( ){ int j;j=M;j =CUBE(j);printf(“%d\n”,j);}
A. 8
B. 10
C. 12
D. 64
设有以下宏定义:#define S(x) x/xint a=4,b=3,area;执行语句area=S(a+b);后,area的值为( )
A. 1
B. 4
C. 7
D. 8