Question OOP-POLY-0068
HardHow does a vtable make virtual calls work in C++?
- A.
Each object stores copies of its functions
- B.
The compiler inlines every virtual call
- C.
Each polymorphic object holds a pointer to its class's table of function addresses, which the call looks up
- D.
The program searches all classes at run time
Sign up free to see the answer and a step-by-step explanation.