Answers

Question and Answer:

  Home  C++ Operator Overloading

⟩ Can you please explain function overloading?

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.

 237 views

More Questions for you: