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


Please Help Members By Posting Answers For Below Questions

What is interface? When and where is it used?

1648


What is object and example?

583


Give two or more real cenario of virtual function and vertual object

1839


What is advantage of inheritance?

672


What are the important components of cohesion?

542






What is meant by multiple inheritance?

726


write a C++ program for booking using constructor and destructor.

2030


What are the three parts of a simple empty class?

1439


Why do we use class in oops?

545


What is the difference between a mixin and inheritance?

506


what are the ways in which a constructors can be called?

1564


What is the full form of oops?

597


What is object in oops?

600


Are polymorphisms mutations?

685


What is for loop and its syntax?

584