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...

write a short note on Overloading of Binary Operator?

Answer Posted / saranya

In overloading binary operators the object to the left of the operator is used to invoke the operator function while the operand to the right of the operator is always passed as an argument to the function.
eg) sum.x = x + real.x
here x is used to invoke the function +() and real.x is passed as argument to that function.

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why multiple inheritance is not possible?

1065


How Do you Code Composition and Aggregation in C++ ?

25448


What is polymorphism used for?

1058


What are the three parts of a simple empty class?

2045


What is encapsulation in ict?

1055


What is the renewal class?

2749


What is oops in simple words?

1083


How do you achieve runtime polymorphism?

1045


What is difference between inheritance and polymorphism?

1020


class type to basic type conversion

2397


Why oops is important?

1111


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

1239


What is inheritance and how many types of inheritance?

1095


State what is encapsulation and friend function?

1254


Explain the concepts involved in Object Oriented programming.

1219