Operator Overloading in C++
We can redefine or overload most of the built-in operators available in C++. Thus a programmer can use operators with user-defined types as well, this process is operator overloading. Overloaded operators are functions with special names the keyword operator followed by the symbol for the operator being defined. Like any other function, an overloaded operator … Read more