What is virtual table?



What is virtual table?..

Answer / Md Hasan Ahmad

Virtual Table (vtable) in C++ refers to a table that stores pointers to virtual functions for a particular class. It allows polymorphism by enabling derived classes to provide their own implementations of inherited virtual functions, and for the correct implementation to be called at runtime based on the object's actual type.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

what are Access specifiers in C++ class? What are the types?

1 Answers  


Explain virtual class?

1 Answers  


What is virtual destructor? What is its use?

1 Answers  


What is the main purpose of overloading operators?

1 Answers  


What does new return if there is insufficient memory to make your new object?

1 Answers  


What is abstraction c++?

1 Answers  


Live example for static function?

1 Answers   Infosys,


Definition of class?

12 Answers  


What are the storage qualifiers?

1 Answers  


What is the function to call to turn an ascii string into a long?

1 Answers  


What are the new features that iso/ansi c++ has added to original c++ specifications?

1 Answers  


What is the difference between static link library and dynamic link library?

7 Answers   Tech Mahindra,


Categories