How compile-time polymorphisms are implemented in C++?
A. Using Inheritance
B. Using Virtual functions
C. Using Templates
D. Using Inheritance and Virtual functions
Answer:C
How compile-time polymorphisms are implemented in C++?
A. Using Inheritance B. Using Virtual functions C. Using Templates D. Using Inheritance and Virtual functions