New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Operator Overloading is a mechanism to define custom behavior of c++ operators for our own created classes.
In simple when you overload any operator you are defining a custom behaviour for that operator.