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
Answer / guest
can anyone tell me this answer??? please its urgently
required....
| Is This Answer Correct ? | 2 Yes | 3 No |
What is a class?
32 Answers Infosys, TCS, Thylak,
What Is a Polymorphism? How many types of polymorphism and whats that use in application?
officer say me - i am offered to a smoking , then what can you say
What are the four main oops concepts?
What is encapsulation selenium?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }
What does oop mean in snapchat?
Can static class have constructor?
tel me oops defination in single line
why c++ is called OOPS? waht is inherutance? what is compiler?
What is command routing in MFC