A.In a house.B.In a hotel.C.In a two-bedroom apartment.D.In a three-bedroom apartment.
A.In a house.
B.In a hotel.
C.In a two-bedroom apartment.
D.In a three-bedroom apartment.
A.In a house.
B.In a hotel.
C.In a two-bedroom apartment.
D.In a three-bedroom apartment.
第1题
下面程序的输出是______。 typedef union { long x[2]; int y[4]; char z[8]; }MYTYPE; MYTYPE them; mare() { printf("%d\n",sizeof(them));}
A.32
B.16
C.8
D.24
第2题
第3题
下列程序段的输出是() typedef union{ long x[2]; short y[4][5]; char z[10]; }TYPE1; TYPE1 u1; printf("%d\n", sizeof(u1));
A.8
B.10
C.40
D.58
第4题
A.32
B.16
C.8
D.24
第5题
下列程序的输出结果是()。
#include<stdio.h>
main
{ struct st
{ int y,x,z;
};
union
{ long i;
int j;
char k;
}un;
printf("%d,%d\n",sizeof(struct st),sizeof(un))
}
A.6,2
B.6,4
C.8,4
D.8,6
第6题
A.6, 2
B.6, 4
C.8, 4
D.8, 6
第7题
下列程序的输出结果是()。#include<stdio.h>main(){ struct st { int y, x,z; }; union { long i; int j; char k; }un; printf("%d,%d\n",sizeof(struct st),sizeof(un));}
A.6,2
B.6,4
C.8,4
D.8,6
第8题
下列程序的输出结果是()。 #include "stdio.h" main() { struct st { int y,x,z;}; union {long i;int j; char k;} un; printf("%d,%d\n",sizeo(struct st),sizeof(un)); }
A.6,2
B.6,4
C.8,4
D.8,6
第9题
以下程序的输出结果是______。 main() { union { int i[2]; long j; char m[4]; }r,*s=&r; s->i[0]=0x409; s->i[1]=0x407; printf("%d\n",s->m[0]); }
A.9
B.49
C.7
D.47
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!