I came across this question and wanted to know what the answer would be ?
Which of the following options describe the expected overhead of class that has five virtual functions ?
A. Every object of the class holds the address of a structure holding the address of the 5 virtual functions
B. Every object of the class holds the address of the five virtual functions
C. Every object of the class holds the address of the next virtual function.
D.Every object of the class holds the address of the link list object that holds the address of the virtual functions.
E.Every object of the class holds the address of the class declaration in memory through which virtual function calls are resolved.
I am familiar with the virtual tables , that each class has a virtual table that indicates which virtual function points to which implementation . However i am not sure how instances of classes communicate with that virtual table. My guess would be A. Please let me know if I am right/wrong and also some explanation to the answer .