Do we need operator overloading?

The purpose of operator overloading is to provide a special meaning of an operator for a user-defined data type . With the help of operator overloading, you can redefine the majority of the C++ operators. You can also use operator overloading to perform different operations using one operator.

Sizin İçin Seçtik  How do you do operator overloading in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *