Answer Posted / nishikant sahu
V-Table holds the addresses of virtual functions of a class
and type_info structure for RTTI.V-table created class basis.
when an object created compiler secretly inserted the
v-table pointer of the respective class and then Vptr
iterator accordingly. all are done under the hood.
| Is This Answer Correct ? | 21 Yes | 3 No |
Post New Answer View All Answers
How do we implement inheritance in c++?
What is java and c++?
What is double in c++?
How many characters are recognized by ANSI C++?
Describe the advantages of operator overloading?
Explain the pure virtual functions?
What is srand c++?
What is class definition in c++ ?
What is constructor and destructor in c++?
Why do we use using namespace std in c++?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
What is using namespace std in cpp?
What is diamond problem in c++?
What will the line of code below print out and why?
How should a contructor handle a failure?