What is operator overloading? Give Example

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is class in oop with example?

608


What is basic concept of oop?

690


What is polymorphism and example?

586


What is destructor in oop?

616


What are the benefits of polymorphism?

615






Whats oop mean?

584


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3550


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1636


Why is abstraction used?

599


How long to learn object oriented programming?

555


explain sub-type and sub class? atleast u have differ it into 4 points?

1829


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1409


what is different between oops and c++

1995


What does <> mean pseudocode?

618


write a program to find 2^n+1 ?

1540