On my machine sizeof(AUTHOR) is 80, not 70. It depends on compiler and its aliasing settings. Size will not be same for all. So not only code in invalid (missing semicolon in class declaration), but whole question is incorrect. All one is able to say is that AUTHOR class cannot be less that 68 bytes (sum of sizes of all its components). Whoever wrote your questions is clearly incompetent.