What is function overloading?,describe it with the example.

Answer Posted / senthil.k,arasur

The function overloading is the same function name with
different arguments.
example:

float sum(float a,float b);
int sum(int a,int b,int c);

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is class and object in oops?

607


Get me a number puzzle game-program

1690


What makes a language oop?

591


How do you explain polymorphism?

586


What is polymorphism oop?

619






What is the difference between a mixin and inheritance?

519


What is the renewal class?

2161


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2159


What is the fundamental idea of oop?

634


What does it mean when someone says I oop?

576


write knight tour problem which is present in datastructure

2160


What do you mean by abstraction?

607


What is oops in programming?

562


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1891


What does I oop mean?

611