Operator overloading is one of the many exciting features of the C++ language. It is an important technique that has enhanced the power of extensibility of C++. We can use it to develop the user's defines data type.
For instance, C++ permits us to add two variables of user-defined types with the same syntax that is applied to the basic types. This means that C++ has the ability to provide the operators with a special meaning of data type. The mechanism of giving such special meaning to an operator is known as operator overloading.
In this “Operator Overloading and Data Type Conversion – C++ Programming” you will learn about the following topics:
- Introduction to Operator Overloading
- Defining Operator Overloading
- Overloading Unary Operators
- Overloading the Binary Operator
- Data Type Conversion
- Basic Type To Class Type
- Conversion From Class Type To Basic Type
- One Class Type To Another Class Type Conversion
==== Point to Note ====
If you like to contribute, you can mail us BCA Notes, BCA Question Collections, BCA Related Information, and Latest Technology Information at [email protected].
See your article appearing on BCA Notes (Pokhara University) main page with your designation and help other BCA Students to excel.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
0 Comments