How the V-Table mechanism works?

Answer Posted / tiru

virtual table contains the address of the virtual functions
and pointers to the objects of the each of the derived
classes.

Is This Answer Correct ?    6 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are literals in C++?

768


Can you write a function similar to printf()?

852


Explain the scope of resolution operator.

826


How can a called function determine the number of arguments that have been passed to it?

860


Difference between inline functions and macros?

746






what is the use of void main() in C++ language?

861


Why c++ is called oop?

827


What is a list c++?

789


What is c++ redistributable?

832


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

1689


How do you add an element to a set in c++?

728


How can I learn dev c++ programming?

753


What are the differences between malloc() and calloc()?

831


List the features of oops in c++?

752


What is the rule of three?

751