Hi all:

Please forgive me, if this sounds like a basic question.

Consider this simple C struct

  struct sample
  {
     int *p;
     char c;
     ...
     char last;
  }

In what scenarios,
    sizeof(struct sample) != offsetof(struct sample, last)

Thanks in advance.


thanks
Saifi.

Reply via email to