【36】
A.strength
B.force
C.affect
D.effects
第1题
下面程序运行后的输出结果是______。 struct abc { int a,b,c; } main() { struct abc s[2]={{1,2,3},{4,5,6}}; int t=s[0].a+s[1].b; printf("%d\n",t); }
A.5
B.6
C.7
D.8
第2题
下面程序运行后的输出结果是______。 struct abc { int a,b,c; } main() { struct abc s [2]={{1,2,3},{4,5,6}}; int t=-s[0].a+s[1].b; printf("%d\n",t); }
A.5
B.6
C.7
D.8
第3题
下面程序运行后的输出结果是______。 struct abc { int a,b,c; } main() { struct abc s[2]={{1,2,3},{4,5,6}}; int t=-s[0].a+s[1].b; printf("%d\n",t); }
A.5
B.6
C.7
D.8
第4题
A.5
B.6
C.7
D.8
第5题
下列程序的输出结果是______。 struct abc { int a,b,c;}; main () { struct abc s[2]={{1,2,3},{4,5,6}}; int t;t=s[0].a+s[1].b; printf("%d\n",t); }
A.5
B.6
C.7
D.8
第6题
下列程序的输出结果是() struct abc { int a,b,c;}; main() { struct abc s[2]={{1,2,3},{4,5,6}}; int t; t=s[0].a+s[1].b; printf("%d\n",t); }
A.3
B.4
C.5
D.6
第7题
A.5
B.6
C.7
D.8
第8题
A.10
B.11
C.20
D.21
第9题
下列程序的输出结果是()。 #include <stdio.h> struct abc { int a, b, c, s;}; main() { struct abc s[2]={{1,2,3},{4,5,6}}; int t; t=s[0].a+s[1].b; printf("%d\n",t); }
A.5
B.6
C.7
D.8
第10题
下列程序的输出结果是()。 #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
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!