单选题 C语言
题号 #150827

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

进入在线模考

参考答案

B

答案解析

暂无解析

你可能感兴趣的试题

A.无确切值 
B.形参p中存放的地址值 
C.一个临时存储单元的地址 
D.形参p自身的地址值
A.char a[11], *p; strcpy(p=a+1,&st[4]); 
B.char a[11]; strcpy(++a, st); 
C.char a[11]; strcpy(a, st); 
D.char a[], *p; strcpy(p=&a[1],st+2);
找试题 · 找答案 · 找资料 在线模考