Which of the following is correct?
A. Base class pointer object cannot point to a derived class object
B. Derived class pointer object cannot point to a base class object
C. A derived class cannot have pointer objects
D. A base class cannot have pointer objects
Answer:B
Which of the following is correct?
A. Base class pointer object cannot point to a derived class object B. Derived class pointer object cannot point to a base class object C. A derived class cannot have pointer objects D. A base class cannot have pointer objects