#include<stdio.h> main() {union long a; int b; char c;} m; printf(“%d\n”,sizeof(m));}以上程序的运行结果是()。
A.2
B.4
C.6
D.8
A.2
B.4
C.6
D.8
A.5
B.6
C.7
D.8
以下程序的输出结果是【 】。 include <stdio.h> define MAX(x,y)(x),(y)?(x):(y) main() { int a=5,b=2,c=3,d=3,t; t=MAX(a+b,c+d)*10; printf("%d\n",t); }
下列程序的输出结果是______。
#include"stdio.h"
main()
{
char a[1]="0123456789",*p;
p=&a[4];
puts(p);
}
以下程序的输出结果是______。 include<stdio.h> main() { int a=340; a=a/3; a=a%3; printf("%d",a); }
有以下程序 include<stdio.h> main() {chara=4; printf(%dha,a=a<<1); )
A.8
B.16
C.40
D.4
下列程序的输出结果是【 】。 include<stdio.h> main() { char b[]="Hello you"; b[5] =0; printf("%s\n",b); }
下面程序的输出结果是______。
#include"stdio.h"
main()
(cbar b[]="ABCD";
char*chp;
for(chp=b;*chp;chp+=2)
printf("%s\t",chp);
printf("\n");
}
A.正数
B. 负数
C. 零
D. 不确定的值
下面程序的运行结果是()。 include<stdio.h> define_MYDEBUG void main() { ifdef_MYDEBUG printf("DEBUG"); else printf("RELEASE"); endif )
A.DEBUG
B.RELEASE
C.DEBUGRELEASE
D.程序有错误
以下程序的输出结果是【 】。 include <stdio.h> deftne JFT(x)x*x main() { int a,k=3; a=++JFT(k+1); printf("%d",a); }