CS-304 Final Term Exams Preparation Virtual University MCQs With Answers

Question # 1
If there is a pointer p to objects of a base class, and it contains the address of an object of a derived class, and both classes contain a nonvirtual member function, ding(), then the statement p->ding(); will cause the version of ding() in the _____ class to be executed.

Choose an answer