为什么要内存对齐? 内存对齐的副作用 // size 12 struct one { char a; int b; short c; }; // size 8 struct two { int b; char a; short c; }; 如何内存对齐 总结