Structure Alignment Examples
Visual Studio 2005
The following represent a set of examples showing structure requirements.
Example 1
Example 2
struct
{ // size = 24 bytes, alignment = Quadword
int a;
double b;
short c;
};
Example 3
Example 4