If there is a POD structure, with some member variables, for example like this:
struct foo { short a; int b; char c[50]; // ... };
Use this form: sizeof(foo::a) instead.
sizeof(foo::a)