What is operator overloading? Give Example

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What causes polymorphism?

582


What is polymorphism oop?

631


What is this pointer in oop?

563


What is difference between multiple inheritance and multilevel inheritance?

606


What do you mean by overloading?

588






How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1660


What is purpose of inheritance?

653


Can you inherit a private class?

644


What is the types of inheritance?

606


What makes a language oop?

604


What is a null tree?

633


i got a backdoor offer in process global,Bangalore..Can i work with it?

2339


What is overloading and its types?

624


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1664


What is the purpose of enum?

587