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
Explain class invariant.
What should main() return in c and c++?
What is a linked list in c++?
What is the best book for c++ beginners?
What are the benefits of c++?
What is overloading unary operator?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
Write a program which uses functions like strcmp(), strcpy()? etc
How do you traverse a btree in backward in-order?
Are there interfaces in c++?
What are friend classes?
What is the size of a vector?
Explain the static storage classes in c++.
Is map ordered c++?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?