Question: If a polymorphic pointer is used to access a new member of a derived class (a member that does not exist in the base class,

 If a polymorphic pointer is used to access a new member

If a polymorphic pointer is used to access a new member of a derived class (a member that does not exist in the base class, what will happen? O A. A runtime error will certainly occur. B. A runtime error may or may not occur. C. A compilation error will certainly occur. D.A compilation error may or may not occur

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!