2. (a) Explain operator overloading with the help of an example.
Answers
Answered by
0
Explanation:
In C++, we can change the way operators work for user-defined types like objects and structures. This is known as operator overloading. For example, Suppose we have created three objects c1 , c2 and result from a class named Complex that represents complex numbers.
Answered by
1
Answer:
ok
Explanation:
Similar questions