C++ compile time polymorphism

What is function overloading Polymorphism type in C++?

Answer: In C++ function overloading is a compile time polymorphism as it get resolved on compile time itself. There are two types of polymorphism available in c++ object oriented programming i.e. compile time and run time polymorphism. The run time polymorphism code example in cpp can be read here. Function get resolved at compile time […]

Scroll to top