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
What is the advantage of c++ over c?
Can a function take variable length arguments, if yes, how?
Do you know what are pure virtual functions?
What is flush c++?
Is swift faster than c++?
Explain binary search.
What is stl containers in c++?
Is facebook written in c++?
Why we use #include iostream in c++?
What is a .lib file in c++?
What is the use of "new" operator?
Define a pointer to a data member of the type pointer to pointer?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
Differentiate between a constructor and a destructor in c++.