How the V-Table mechanism works?

Answer Posted / tiru

virtual table contains the address of the virtual functions
and pointers to the objects of the each of the derived
classes.

Is This Answer Correct ?    6 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the vectors in c++?

574


What is a catch statement?

574


Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

641


What is a wchar_t in c++?

575


What are c++ files?

566






Can we use this pointer in a class specific, operator-overloading function for new operator?

607


Should you pass exceptions by value or by reference?

687


Can we delete this pointer in c++?

674


Is it possible to provide default values while overloading a binary operator?

759


What is c++ 11 and c++ 14?

574


Can I learn c++ without c?

594


How const int *ourpointer differs from int const *ourpointer?

598


How do I tokenize a string in c++?

600


Explain the uses oof nested class?

617


What is an incomplete type in c++?

759