#include typedef struct { char a,b,c,d; short e,f; int g,h; } compact; typedef struct { char a; short e; char b; int g; short f; char c; int h; char d; } sloppy; main() { printf("compact %d sloppy %d\n",sizeof(compact),sizeof(sloppy)); }