What is function overloading?,describe it with the example.
Answer Posted / prajapati paresh
the function having the same name but different argument or
different return value is called function overloading
for e.g void sum(int a,intb);
void sum(int a,int b,int c);
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Give two or more real cenario of virtual function and vertual object
What type of loop is a for loop?
What is the benefit of oop?
c++ program to swap the objects of two different classes
Prepare me a program for the animation of train
Can bst contain duplicates?
What are properties in oop?
Write a program to reverse a string using recursive function?
What is overloading in oop?
write knight tour problem which is present in datastructure
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What are the 3 principles of oop?
What is overriding in oops?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
How do you define a class in oop?