下列程序的输出结果是()。 struct abc { int a, b, c; }; main() { struct a

分类: 2019江中知识赛B(看题模式) 发布时间: 2023-12-01 12:13 浏览量: 0

下列程序的输出结果是()。 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

E.B

F.1

正确答案是B