Answer Posted / 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 |
Post New Answer View All Answers
what is difference between class template and template class?
What do you mean by overloading?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is object-oriented programming? Webopedia definition
What is abstract class in oops?
What is encapsulation in ict?
Which type does string inherit from?
Why do we use polymorphism?
What are oops functions?
What is meant by multiple inheritance?
What is protected in oop?
Why do we use inheritance?
What is the problem with multiple inheritance?
Explain virtual inheritance?
What is the main purpose of inheritance law?