C++ Operator Overloading Question:
Can you please explain function overloading?
Answer:
A feature in C++ that enables several functions of the same name can be defined with different types of parameters or different number of parameters. This feature is called function overloading. The appropriate function will be identified by the compiler by examining the number or the types of parameters / arguments in the overloaded function. Function overloading reduces the investment of different function names and used to perform similar functionality by more than one function.
Previous Question | Next Question |
Can you please explain operator overloading? | Explain overloading unary operator? |