C++ Operator Overloading Question:

Download Job Interview Questions and Answers PDF

Can you please explain function overloading?

C++ Operator Overloading Interview Question
C++ Operator Overloading Interview Question

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.

Download C++ Operator Overloading Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please explain operator overloading?Explain overloading unary operator?