what is function over loading?

Answer Posted / abhishek singh

Same Function Name with Diffrent Parameters(argument)
called function over loading.

Ex-1
public Functin Sqlquery(by val user id as string,by val
passowrd as string)

public Functin Sqlquery(by val From as string,by val To as
string)

Here u can see same name of function with different
parameters

Thanks & Regards
Abhishek singh
09709109796
abhishek_singh156@yahoo.com

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1537


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1389


What is encapsulation in ict?

598


How can you overcome the diamond problem in inheritance?

763


What is difference between data abstraction and encapsulation?

613






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

2061


What is the difference between encapsulation and polymorphism?

587


How to call a non virtual function in the derived class by using base class pointer

5250


Can an interface inherit a class?

554


What is coupling in oops?

591


What is polymorphism in oop example?

512


What is overriding in oops?

596


Why do we use class in oops?

551


What is the main feature of oop?

618


What is encapsulation example?

545