How compile-time polymorphisms are implemented in C++?
(a) Using Inheritance
(b) Using Virtual functions
(c) Using Templates
(d) Using Inheritance and Virtual functions
The question was posed to me during an online interview.
I'm obligated to ask this question of OOPs Concept in chapter Basics Concepts of C++ of C++