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 interface? When and where is it used?
What is object and example?
Give two or more real cenario of virtual function and vertual object
What is advantage of inheritance?
What are the important components of cohesion?
What is meant by multiple inheritance?
write a C++ program for booking using constructor and destructor.
What are the three parts of a simple empty class?
Why do we use class in oops?
What is the difference between a mixin and inheritance?
what are the ways in which a constructors can be called?
What is the full form of oops?
What is object in oops?
Are polymorphisms mutations?
What is for loop and its syntax?