Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is the problem with multiple inheritance?

0 Answers  


What are properties in oop?

0 Answers  


When not to use object oriented programming?

0 Answers  


What is class encapsulation?

0 Answers  


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

0 Answers   HCL,


difference between overloading and overridding

11 Answers  


should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks

2 Answers  


Program to print 0 to 9 in cross order

3 Answers  


How do you make derived class as an abstract class?

1 Answers   Convergys, TCS,


What is meant by oops concept?

0 Answers  


what are the ways in which a constructors can be called?

0 Answers  


1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.

1 Answers   Tech Mahindra,


Categories