Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How Virtual functions call up is maintained?

Answers were Sorted based on User's Feedback



How Virtual functions call up is maintained?..

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

How Virtual functions call up is maintained?..

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

Post New Answer

More C++ General Interview Questions

What is the best way to take screenshots of a window with c++ in windows?

0 Answers  


How to tokenize a string in c++?

0 Answers  


write a porgram in c++ that reads an integer and print the biggest digit in the number

0 Answers  


What is time_t c++?

0 Answers  


What are the various compound assignment operators in c++?

0 Answers  






C++ program output? Explain output of this program. #include <iostream> using std::cout; using std::cin; int main() {   cout<<cout<<' ';   cout<<cin;   return 0; } It prints some address in hexadecimal. what is it?

1 Answers  


What is the difference between multiple and multilevel inheritance in c++?

0 Answers  


Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

0 Answers  


You run a shell on unix system. How would you tell which shell are you running?

0 Answers  


Define stacks. Provide an example where they are useful.

0 Answers  


How should runtime errors be handled in c++?

0 Answers  


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.

1 Answers  






Categories