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.

Answer Posted / fgf

i also want answer for this question

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is basic concept of oop?

1107


How to use CMutex, CSemaphore in VC++ MFC

4739


Why do we use oop?

1047


What is the real life example of polymorphism?

1113


Can abstract class have normal methods?

993


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2565


What is the highest level of cohesion?

989


What type of loop is a for loop?

1051


What does and I oop and sksksk mean?

1109


What is multilevel inheritance explain with example?

1091


Can we create object of abstract class?

1035


What are the three main types of variables?

1064


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2497


What is polymorphism oop?

1011


What are the benefits of polymorphism?

1168