试题详情

阅读下面的C语言程序,请给出正确的输出结果( )。#include#define N 10#define s(x)x*x#define f(x)(x*x)#define g(x)((x)*(x))main( ){int i1,i2,i3,i4;i1=1000/s(N);i2=1000/f(N);i3=f(N+1);i4=g(N+1);printf(“i1=%d,i2=%d,i3=%d,i4=%d\n”,i1,i2,i3,i4);}

Ai1=1000,i2=10,i3=21,i4=121

Bi1=10,i2=10,i3=121,i4=121

Ci1=1000,i2=1000,i3=21,i4=21

Di1=10,i2二1000,i3=121,i4=21