what is overloading
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
what is the function of 'this' operator ?
What is cohesion in oop?
polymorphism means?
JAVA is FULLY OBJECT ORIENTED PROGRAMING LANGUAGE?
i hav very low percentage in 12th n BSCwhich is around 50.......coz it was just imposed on me 2 b a science graduate,nw m doin MCA n hav aggregate 74% ....what shud i answer if company's HR ask me about dis much low previous percentage??????
what are the disadvantages of C++?
25 Answers ATS, Infosys, UNI, Wipro,
When will a constructor executed?
write a program to find the largest of two numbers without using for,while,switch,if else, conditional operator and do while using c++ pgmng language
what i oops concept, how many languages supports oops concept?
What is the difference between Home and $Home?
What is encapsulation in simple terms?
What is static in oop?