On which specifier’s data, does the size of a class’s object depend?
(a) All the data members are added
(b) Only private members are added
(c) Only public members are added
(d) Only default data members are added
I have been asked this question in examination.
This intriguing question comes from Access Specifiers in section Access Specifiers of Object Oriented Programming