1 2 struct foo { 3 int a; 4 char *b; 5 }; 6 7 8 int 9 main(void) 10 { 11 return __builtin_offsetof(struct foo, b); 12 } 13