Mail Archives: djgpp/1999/12/21/22:18:59
Mike Collins <Mike AT NO_SPAM DOT e-col DOT freeserve DOT co DOT uk> wrote:
>I came across an interesting thing: In the program below, I would have
>expected a structure length of 6 bytes, but in fact, when I compile it and
>single step it, I read the values for a, b, c, d printed below. Of
>particular interest is the value of a ( the sizeof the entire structure) =
>8.
Read section 18.5 and 22.10 of the FAQ.
Prashant
------------------------------------------
One pound of learning requires ten pounds of
common sense to apply it.
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
- Raw text -