Answer Posted / ranjeet garodia
it is not look up table.
instead it is vtable.
every object has the vptr which locate the vtable in which
there is entries for the virtual functions.
so when calling the function it ucall the respective
function through vptr.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Define linked lists with the help of an example.
What is the difference between equal to (==) and assignment operator (=)?
State the difference between pre and post increment/decrement operations.
What is the full form of dos?
How would you implement a substr() function that extracts a sub string from a given string?
what are the iterator and generic algorithms.
What is lambda expression c++?
What are register variables?
Why pointer is used in c++?
What is purpose of new operator?
What is c++ array?
What is an orthogonal base class in c++?
What is atoi in c++?
Explain some examples of operator overloading?
What are vectors used for in c++?