A.His training in an art school.
B.His mother.
C.A desire to earn a lot of money.
D.The life of a cowhand in the old West.
第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题
运行下列程序,输出结果是(). struct student { int num; struct student *next; }; int main() { struct student a[3]={1,&a[1],2,&a[2],3,&a[0]},*p; p=&a[1]; printf("%d%d\n ",p->num,p->next->num); return 0; }
A、12
B、13
C、23
D、31
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!