试题与答案

若有下面的说明和定义: struct test int m1; char m2

题型:单项选择题

题目:

若有下面的说明和定义:
struct test
int m1; char m2; float m3;
union uuchar u1[5]; int u2[2]; ua;
myaa;
则sizeof(struct test)的值是( )。

A.20
B.16
C.14
D.9

答案:

参考答案:A

试题推荐
微信公众账号搜索答案