1.

If we store the address of a derived class object into a variable whose type is a pointer to the base class, then the object, when accessed using this pointer.

A. continues to act like a derived class object
B. continues to act like a derived class object if virtual functions are called
C. Acts like a base class object
D. Acts like a base class, if virtual functions are called
Answer» C. Acts like a base class object


Discussion

No Comment Found