Write a c++ program to subtract two complex number using classes and object
Answers
Answered by
0
Answer:
Explanation:
✏ => operator overloading of binary operators in C++ programming, the object on right hand side of operator is always assumed as argument by compiler.
Then, this function returns the resultant complex number (object) to main() function which is displayed on to the screen.
Though, this tutorial contains the overloading of - operators, binary operators in C++ programming like: +, *, <, += etc. can be overloaded in a similar manner.
hope this helps
Similar questions
Social Sciences,
24 days ago
Hindi,
24 days ago
Math,
1 month ago
Science,
9 months ago
English,
9 months ago