原创 C/C++內存對齊規則及作用

 首先由一個程序引入話題://環境:vc6 + windows sp2 //程序1 #include <iostream> using namespace std; struct st1 { char a ; int