Computer Science, asked by oendrila8, 1 year ago

how does function overloading implement polymorphism

Answers

Answered by MrTSR
3
\huge\mathfrak\red{Answer:}

In C++ polymorphism is mainly divided into two types:

A) Compile time polymorphism

☑️ Function Overloading
☑️ Operator Overloading

B) Runtime polymorphism

☑️ Function overriding

As you can see Function Overloading is a sub-part of polymorphism thus if you are using it in your code you are unintentionally implementing polymorphism.
Similar questions