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 / guest

can anyone tell me this answer??? please its urgently
required....

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain virtual inheritance?

677


What is abstraction oop?

613


How do you achieve polymorphism?

605


What is property in oops?

555


How to improve object oriented design skills?

559






Can an interface inherit a class?

550


What is object in oops?

606


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2138


What are constructors in oop?

581


What is class and object with example?

578


What is overloading in oops?

587


What are the important components of cohesion?

546


What polymorphism means?

611


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

934


What is the difference between abstraction and polymorphism?

604