Original Post
Hi Given the following the struct: Can anyone tell me exactly why sizeof( X ) is not equal to 17, and what it really ends up being on a PC (using VC 6). I've never been quite clear with the exact inner workings of memory alignment, and was hoping someone could clear this up for me. Thanks
struct X
{
_int64 d;
short a;
unsigned char b;
short c;
int e;
};