1) no data members can be accessed with following syntax:
Author a;
a.<data_member>
2) no data members
3) acode; aname; amount; employees
4) Required:
32 + sizeof(Branch) + sizeof(Publisher) = 80 bytes
-------------------
sizeof(Branch) = 24
sizeof(Publisher) = 24
calculated base on alignments of data members on my x64 machine.
Comments
Leave a comment