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 |
How would you use the functions memcpy(), memset(), memmove()?
What is c++ 11 and c++ 14?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
The "virtual" specifier in a member function enables which one of the following? a) Monmorphism b) Late binding c) Metamorphism d) Solomorphism e) Inheritance
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
What is the difference between structure and class?
What is const in c++?
What do you mean by enumerated data type?
What is the difference between the functions memmove() and memcpy()?
What is the Standard Template Library?
What is the use of ::(scope resolution operator)?
When does a name clash occur?