In this module you will learn about Operator Overloading.
Operator overloading means overloading existing operators with more tasks. For example operations such as subtraction of integers and subtraction of real numbers have already been defined for minus (–) operator, we can define another task of subtracting two time objects for minus (–) operator. This process of overloading operator with one more task is called operator overloading. We can overload unary as well as binary operators. Let us see how we can overload operators.
No Reviews found for this course.