How the V-Table mechanism works?

Answer Posted / dee

V-table is created for class when a class has atleast one
virtual function and each virtual function has a entry in
the V-table.

Is This Answer Correct ?    48 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Eplain extern keyword?

550


What are structs in c++?

589


Explain the volatile and mutable keywords.

606


What is the difference between c++ and turbo c++?

576


What is the difference between an external iterator and an internal iterator?

599






Name the implicit member functions of a class.

582


What is lvalue?

683


What are the benefits of c++?

552


What are the types of container classes?

604


Tell me an example where stacks are useful?

578


Please explain class & object in c++?

594


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 == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

1569


What problems might the following macro bring to the application?

605


How a new operator differs from the operator new?

610


Can we define a constructor as virtual in c++?

592