InterviewSolution
Saved Bookmarks
| 1. |
What is vptr?(a) A hidden pointer in a class that points to a virtual table of that class(b) A hidden pointer in a class that points to virtual functions of that class(c) A hidden pointer in a class that points to virtual members of the class of that class(d) A pointer in a class that points to other class |
|
Answer» Correct answer is (a) A hidden pointer in a class that points to a virtual table of that class The best I can explain: vptr is a hidden pointer available with classes which are used to point to the virtual table of a class. |
|