Function overloading is defined as a normal function, but it has the ability to
perform different tasks. It allowscreation of several methods with the same name
which differ from each other by type of input and output of the function.
Example:
void mul(int& x, int& y); void mul(double& x, double& y); void mul(struct bob& x, struct bob& y); |