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 |
explain the concepts of oops?
Do you know about multiple inheritance?
What is difference between inheritance and polymorphism?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Which keyword is written to use a variable declared in one class in the other class?
What are the fields of vtable
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is this interview room ? Is it a class or an object.
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
What is multilevel inheritance?
What makes a language oop?
design class for linked list and include constructor,destructor,insert option. struct node { int node; struct node &ptr; }