Question
If there is a pointer p to object of a base class and it contains the address of an object of a derived class and both classes contain a virtual member function abc(), then the statement
p->abc();
will cause the version of abc() in the __________class to be executed.
Answer: Option B
Submit Your Solution Below and Earn Points !
Submit Your Solution Below and Earn Points !
More Questions on This Topic :
Question 4.
The major goal of inheritance in c++ is:
....
Question 6.
A white space is :
....
Question 7.
Usually a pure virtual function
....
Question 8.
An exception is caused by
....
Question 10.
A copy constructor takes
....
Submit Solution