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 is static modifier?

710


Give two or more real cenario of virtual function and vertual object

1953


Is enum a class?

687


What is the diamond problem in inheritance?

674


What is encapsulation in oops?

633






What is abstraction in oop?

726


What is stream in oop?

939


What is inheritance write a program to show use of inheritance?

715


Where You Can Use Interface in your Project

1506


What is the purpose of enum?

658


Prepare me a program for the animation of train

2085


What is byval and byref? What are differences between them?

1792


What is polymorphism explain?

802


Can a destructor be called directly?

689


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2193