40字节 内结构体遵循内最大字节字节对齐开始存储 #include<stdio.h> typedef struct Test { short a; struct { int b; double c; char d; }; int e; }Test; //3 int main(int argc, const char *argv[]) { printf("%ld",sizeof(struct c)); return 0; } Makefile