先看一个结构体:
typedef struct Test
{
char a1;
int a2;
char a3;
short a4;
}Test_T;
在32位编译系统下这一个结构体的字节数是多少呢?是1+4
2018-10-20