From: Adrian M. <ad...@mc...> - 2002-05-26 23:09:13
|
If I have a data structure like this typedef struct foobar{ i8 foo1; i8 foo2; i32 foo3; i32 foo4; } is the 8 bit data aligned on 32 bit boundaries? So foo1 is at offset 0, foo2 at offset 4, foo3 at 8 etc? Or is it: foo1 is at 0, foo2 is at 1, foo3 is at 4? I think I know the answer - the latter - but could someone confirm it for me? Adrian |