Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is function overloading..?

Answer Posted / pankaj kumar sharma

Function overloading takes place when a function is
overloaded with two or more tasks ie. same function is
having different behaviour.
It takes place when two functions have same name but
differs in argument list ie. may be the no of arg in both
fun are different or type of the arguments in argument list
are diff.

As return type of a func. does not take part in name
mangling so return type for overloaded functions may differ
or not.

eg: int fun(int arg1, int arg2)
char* fun(char* ptr1)

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What type of loop is a for loop?

1056


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2558


Why it is called runtime polymorphism?

1063


explain sub-type and sub class? atleast u have differ it into 4 points?

2271


What are benefits of oop?

1085


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2346


what is different between oops and c++

2464


How do you answer polymorphism?

1016


What is advantage of inheritance?

1138


What is encapsulation with example?

1036


Why is abstraction used?

1045


What is difference between inheritance and polymorphism?

982


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1820


What is encapsulation in oop?

996


Is this job good for future? can do this job post grduate student?

2100