How Virtual functions call up is maintained?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest
By using Look up tables that were added by the compile to
every class image.
| Is This Answer Correct ? | 0 Yes | 3 No |
Which programming language's unsatisfactory performance led to the discovery of c++?
Why do we use using namespace std in c++?
What are multiple inheritances (virtual inheritance)?
How do you define/declare constants in c++?
What is the difference between the compiler and the preprocessor?
What is the difference between global int and static int declaration?
What is low level language in simple words?
What is the full name of logo?
what is the use of void main() in C++ language?
What does namespace mean in c++?
What is stack unwinding?
What is c++ & why it is used?