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.

Answers were Sorted based on User's Feedback



create a class complex having real and imaginary part of a complex no. as a data member. overload ..

Answer / fgf

i also want answer for this question

Is This Answer Correct ?    1 Yes 0 No

create a class complex having real and imaginary part of a complex no. as a data member. overload ..

Answer / guest

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

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More OOPS Interview Questions

difference between overloading and overridding

11 Answers  


Plese get me a perfect C++ program for railway/airway reservation with all details.

0 Answers   ITM,


What is stream in oop?

0 Answers  


What is oops concept with example?

0 Answers  


Why multiple inheritance is not possible?

0 Answers  


What is oops in programming?

1 Answers  


How to deploy web appliction in web logic ?

1 Answers   Unisys,


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

0 Answers  


how many types of notations are in java

1 Answers   National University of Modern Languages (NUML),


IN PROGRAMING LANGAUGE A C++ IS PURELY OBJECT ORIENTED OR NOT?

2 Answers  


which structured data type is not used in c++? 1.union 2.structure 3.string 4.boolean

2 Answers   HCL, Wipro,


Write a program to sort the number with different sorts in one program ??

0 Answers   NIIT,


Categories