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
Which bitwise operator is used to check whether a particular bit is on or off?
What are single and multiple inheritances in c++?
How do you find out if a linked-list has an end?
Do vectors start at 0 c++?
What is input operator in c++?
Tell me what are static member functions?
Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
Can static member variables be private?
When should we use container classes instead of arrays?
What are features of c++?
What do you mean by funtion prototype?
What is the difference between strcpy() and strncpy()?
What are maps in c++?
Why do we use vector in c++?
Out of fgets() and gets() which function is safe to use and why?