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

Answers were Sorted based on User's Feedback



What is operator overloading? Give Example..

Answer / palsaniya sadikhasan, meta.

Operator overloading is an operator that perform different
task based on given arguments.
e.g. suppose '+' is an operator is used to add two number
and if we use '+' with two strings then operator '+' can
concate two string is known as operator overloading.

or

operator overloading means one operator can perform multiple
operation based on given arguments.

Is This Answer Correct ?    39 Yes 2 No

What is operator overloading? Give Example..

Answer / riya piyush jain

Operator overloading (less commonly known as operator ad-
hoc polymorphism) is a specific case of polymorphism in
which some or all of operators like +, =, or == have
different implementations depending on the types of their
arguments. Sometimes the overloadings are defined by the
language; sometimes the programmer can implement support
for new types.

Is This Answer Correct ?    23 Yes 1 No

What is operator overloading? Give Example..

Answer / sagar kelkar

it may be defined as an operator performing different
operations.for ex-arithmetic operators such
as(+,-,*,/,++,--) etc..

Is This Answer Correct ?    22 Yes 8 No

What is operator overloading? Give Example..

Answer / 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

What is operator overloading? Give Example..

Answer / selva

operator performing different task based on argument supplied.

Is This Answer Correct ?    4 Yes 0 No

What is operator overloading? Give Example..

Answer / karthik

A single operator is used to perform diff fuction in a
program is known as operator overloading..

Is This Answer Correct ?    4 Yes 2 No

What is operator overloading? Give Example..

Answer / xxxx

A single operator is used to perform diff fuction in a
program is known as operator overloading..
Operator overloading is an operator that perform different
task based on given arguments.
e.g. suppose '+' is an operator is used to add two number
and if we use '+' with two strings then operator '+' can
concate two string is known as operator overloading.

or

operator overloading means one operator can perform multiple
operation based on given arguments.

Is This Answer Correct ?    3 Yes 1 No

What is operator overloading? Give Example..

Answer / mohd nadeem

operator overloading provides special meaning to predefined operators with respect to user defined data types like class, struct, enum.

Is This Answer Correct ?    1 Yes 0 No

What is operator overloading? Give Example..

Answer / karthika

usually operators dealing with basic data types,operator
overloading allows the users to give additional meaning to
most operators so that it can be used with user's own data
types.

Is This Answer Correct ?    0 Yes 0 No

What is operator overloading? Give Example..

Answer / kalai391989

operator overloading is a function..

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More OOPS Interview Questions

What is public, protected, private?

6 Answers   IBS, Satyam,


Why interface is used?

0 Answers  


what is virtual function in c++

6 Answers  


Please tell me the oops concept with detailed answer

9 Answers   EEE,


What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required

15 Answers   ISTS, Wipro,


why overriding?

3 Answers  


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

1 Answers  


to find out the minimum of two integer number of two different classes using friend function

0 Answers  


What is an orthogonal base class?

2 Answers  


When a private constructer is being inherited from one class to another class and when the object is instantiated is the space reserved for this private variable in the memory??

13 Answers   HCL, Honeywell,


How many types of access specifier in c# and vb.net?

1 Answers   Infosys,


What does and I oop mean in text?

0 Answers  


Categories