// sizeof(x) == 8 struct x { char x; int a; }; // sizeof(y) == 5 struct y { char x; int a; } __attribute__((packed));