struct c { char c; } c1;Byte-aligned, sizeof struct is 1.
Figure 2-1 : Structure Smaller Than a Word
struct s { char c; char d; short s; int i; } s1;Word-aligned, sizeof struct is 8.
Figure 2-2 : Structure With No Padding
struct t { char c; char d; short s; long l; } t1;
Figure 2-3 : Structure With Internal Padding
struct l { char c; long l; short s; } l1;
Figure 2-4 : Structure With Internal and Tail Padding
union u { char c; short s; int i; long l; } u1;
Figure 2-5 : Union Allocation