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 |
Where are setjmp and longjmp used in c++?
Write a c program for binary addition of two 8 bit numbers.
Who discovered c++?
What is the prototype of printf function?
What character terminates all character array strings a) b) . c) END
What is std::move?
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].
What is dynamic and static typing?
Mention the ways in which parameterized can be invoked. Give an example of each.
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
Is swift faster than c++?
What are the different types of Storage classes?