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 are two types of polymorphism?
What is overloading and its types?
What is polymorphism give a real life example?
Is oop better than procedural?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is abstract class in oops? Get me a number puzzle game-program What is abstraction encapsulation? What is destructor oops? What are the benefits of polymorphism? What is oops with example? Explain the concepts involved in Object Oriented programming. What is encapsulation process? What is polymorphism and example? #include