Re: Difference between function overloading and operator overloading fuction overloading:-C++ enables several functions of the same name to be defined, as long as these functions have different sets of parameters (at least as far as their types are concerned). This capability is called function overloading
Operator overloading allows existing C++ operators to be redefined so that they work on objects of user-defined classes. |