C struct elements alignment (ansi)

Viewed 692

just a simple question... what the standard says about the structure members alignment? for example with this one:

struct
{
    uint8_t a;
    uint8_t b;
    /* other members */
} test;

It is guarateed that b is at offset 1 from the struct start? Thanks

6 Answers
Related