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

What is operator overloading? Give Example

Answer Posted / msn

Making an operator doing different operation other than
the normal one is termed as operator overloading..

Say for example Operator + is normally used to add numbers
but we can add another function concatenate two strings

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What type of loop is a for loop?

1061


Can we create object of abstract class?

1049


2. Give the different notations for the class.\

2113


What is the real time example of inheritance?

1097


What is the importance of oop?

1049


Templates mean

2043


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2569


Whats oop mean?

999


What is multilevel inheritance?

1173


What is constructor in oop?

1043


Why do we use encapsulation in oops?

997


when to use 'mutable' keyword and when to use 'const cast' in c++

2124


What is the full form of oops?

1142


Can main method override?

1078


What is encapsulation and abstraction? How are they implemented in C++?

1089