what is overloading

Answers were Sorted based on User's Feedback



what is overloading..

Answer / rajveer

c++ provide 2types of overloading.
1. Function overloading:- When we create more then 1
function as same name(like Sum)then it's overloading.
this types overloading in perameters are deffrent becouse
compiler is not know which function called. so sum(),sum
(int,int),sum(int float)etc.
2. operatore overloading:- in c++ operatore(+,-,/ etc.)
worked only builtin datatype. but we can use operatore in
user defined data type by operatore overloading.

Is This Answer Correct ?    12 Yes 0 No

what is overloading..

Answer / laxmi reddy

Function overloading:- When we create more then 1
function as same name(like Sum)then it's overloading.
this types overloading in perameters are deffrent becouse
compiler is not know which function called. so sum(),sum
(int,int),sum(int float)etc.

Is This Answer Correct ?    4 Yes 0 No

what is overloading..

Answer / gaurav pathak

the function overloading is ablity to make more then one
function of same name.compiler identifies which function is
called by making the comparision of function arguments.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

what is the need of abstraction? what is abstraction?what is the abstraction for stack?

8 Answers   CTS, Verizon,


what i oops concept, how many languages supports oops concept?

3 Answers   Value Labs,


program for insertion ,deletion,sorting in double link list

0 Answers  


What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.

2 Answers  


what is difference b/w object based and object oriented programming language?

18 Answers   Chaitanya, College School Exams Tests, Educomp, IBM, Infosys, Telko,






What is difference between new and malloc?

7 Answers   emc2,


Can we create object of class with private constructor?

5 Answers  


What type of Job you are providing?

0 Answers  


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

0 Answers   NIIT, SRA,


WAP find square root of any number (without using sqrt() )?

3 Answers  


What is the purpose of enum?

0 Answers  


what type of questions

0 Answers   IBM,


Categories