1.

If base class consist of two private integers,one static integer and derived class consist of two static integers and one private integer.What would be the size of derived class object?$

A. size of object depends on sizes of its non static data members
B. size of a derived class object is sum of sizes of non static data members of base class and derived class
C. size of object is calculated using sizeof() method
D. none of the mentioned
Answer» B. size of a derived class object is sum of sizes of non static data members of base class and derived class


Discussion

No Comment Found