What is function overloading and operator overloading?
Answer Posted / manjeetsheoran
we can use the same function name but function signature are
differnt is called function overloading
for example
niit(int a int b)
niit(int a string name)
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
to find out the minimum of two integer number of two different classes using friend function
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
How oops is better than procedural?
What is the difference between inheritance and polymorphism?
What is the fundamental idea of oop?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What are functions in oop?
Is data hiding and abstraction same?
What does <> mean pseudocode?
What is abstraction with example?
What is protected in oop?
Why is abstraction needed?
class type to basic type conversion
What is the diamond problem in inheritance?
What is polymorphism oop?