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

What is data binding in oops?

1035


Is html an oop?

1008


How to hide the base class functionality in Inheritance?

1097


What is a class oop?

960


What are the types of abstraction?

1008


What are benefits of oop?

1085


What is debug class?what is trace class? What differences are between them? With examples.

2138


What is super in oop?

1095


What is the diamond problem in inheritance?

1079


What is abstraction in oops?

988


What is interface? When and where is it used?

2115


What are the 3 pillars of oop?

1113


What is constructor in oop?

1025


any one please tell me the purpose of operator overloading

2341


What is balance factor?

1023