下面程序的运行结果是______。 #define N 10 #define s(x)x*x #define f(x) (x*x) main() {int i1,j2;
下面程序的运行结果是______。
#define N 10
#define s(x)x*x
#define f(x) (x*x)
main()
{int i1,j2;
i1=1000/s(N); i2=1000/f(N);
printf("%d%d\n",i1,i2);
}
下面程序的运行结果是______。
#define N 10
#define s(x)x*x
#define f(x) (x*x)
main()
{int i1,j2;
i1=1000/s(N); i2=1000/f(N);
printf("%d%d\n",i1,i2);
}
A.LB
B.AB
C.LBLMNP
D.ABLMNP
下面程序段的运行结果是( )。
char a[7]="abcdef",b[4]="ABC";
strcpy(a,b) ;
printf("%c",a[5]);
(A)空格 (B)\0 (C)e (D)f
下面程序的运行结果是______。
typedef union student
{char name[10];
long sno;
char sex;
float score[4];
}STU;
main()
{ STU a[5];
printf("%d\n",sizeof(a));
}
下面程序的运行结果是【 】。 main() { int y,a; y=2,a=1; while(y--!=-1) {do{a*=y;a++;}while(y--);} printf("%d,%d",a,y);}
下面程序的运行结果是【 】。 include<stdio.h> main() { int y,a; y=2,a=1; while(y--!=-1) {do{a*=y;a++;}while(y--);} printf("%d,%d",a,y); }
A.1
B.12
C.123
D.1234