Function Overloading

Function Overloading :

In function overloading, functions have different signature(i.e. return type and arguments) but same name.

When a function is called, the function with same signature is invoked among those having same name.

Function overloading implements concept of polymorphism in a programming language.

e.g.

Leave a Reply

Your email address will not be published. Required fields are marked *