Cpp Programming 67 – How many types of polymorphisms are supported by C++?

Question: How many types of polymorphisms are supported by C++?
[A]. 1
[B]. 2[C]. 3
[D]. 4

Answer: Option B

Explanation:

The two main types of polymorphism are run-time (implemented as inheritance and virtual functions), and compile-time (implemented as templates).