#include #include struct x { unsigned char a; unsigned char b; char *c; char *d; double e; }; int main() { printf("%u\n",offsetof(struct x,e)); }