Operator overloading is used to provide some extra features, behaviors, and abilities to the users of a particular class. This feature in C++ helps in controlling the functions performed by
an operator and reduces the chance of occurrence of errors in a program.
No comments:
Post a Comment