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

create a c++ program that will accepts 9 inputs using 3 by 3 array.

1 Answers  


i hav very low percentage in 12th n BSCwhich is around 50.......coz it was just imposed on me 2 b a science graduate,nw m doin MCA n hav aggregate 74% ....what shud i answer if company's HR ask me about dis much low previous percentage??????

3 Answers   Infosys,


difine hierarchical inheritance.

9 Answers   ASD Lab, TCS,


what is difference between c++ language and java language

5 Answers  


What is difference between #define and const?

3 Answers   emc2,






Finding of the 4 larger (bigger) numbers from the list like{1245,4587,2145,1163,29987,65783.....}

1 Answers   Wipro,


What does and I oop and sksksk mean?

0 Answers  


how do u initialize the constant variables

5 Answers   IBM, Siemens,


how can we design a magic square in c++?or suggest me the basic idea of it.

3 Answers  


What is the main purpose of inheritance law?

0 Answers  


What is this pointer in oop?

0 Answers  


Can destructor be overloaded?

0 Answers  


Categories