#include #include struct S { char b; int i; }; int main() { S s; std::cout << offsetof(S, i) << '\n'; return 0; }