create a class complex having real and imaginary part of a
complex no. as a data member. overload the binary
operators(+,- and *) to perform the operations on complex
no. objects. overload binary operator using friend function.
Answer Posted / fgf
i also want answer for this question
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is basic concept of oop?
How to use CMutex, CSemaphore in VC++ MFC
Why do we use oop?
What is the real life example of polymorphism?
Can abstract class have normal methods?
#include
What is the highest level of cohesion?
What type of loop is a for loop?
What does and I oop and sksksk mean?
What is multilevel inheritance explain with example?
Can we create object of abstract class?
What are the three main types of variables?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is polymorphism oop?
What are the benefits of polymorphism?