Function overloading by difficult number argument and float value assign 10.10 output 10 < Really Function overloading allows us to define multiple functions with the same name but different parameters. It is a form of compile time polymorphic in which different functions with same name can perform different jobs based on the different parameters passed. Avoids name conflicts and unnecessary function names (explained in the below example) Makes the code easy to understand and making user friendly as the same meaningful function name is used for different types of inputs. Makes the code easy to understand and making user friendly as the same meaningful function name is used for different types of inputs.
#include