How can one implement the compile-time Polymorphism in the C++ programming language?
(i) By using the Template
(ii) By using the concepts of inheritance
(iii) By using both the virtual functions and inheritance
(iv) By using only the virtual functions