Question OOP-POLY-0019
HardHow does C++ usually implement virtual functions?
- A.
Each polymorphic class has a table of function pointers (vtable), and each object holds a pointer to it (vptr)
- B.
By recompiling at run time
- C.
Using templates
- D.
By copying every function into each object
Sign up free to see the answer and a step-by-step explanation.