Function Overloading

Definition #

Function overloading is the concept of affecting a function’s behavior based on the number of parameters or their types.

This way, functions with different parameters can coexist with the same name. Function overloading works with different parameters. The function prototype can change and the return type changes according to parameters being returned.

Types of arguments #

Get hands-on with 1200+ tech skills courses.