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 is interface in oop?

1180


What is polymorphism oop?

1106


What is static in oop?

1116


What is static modifier?

1322


What polymorphism means?

1131


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

2199


what is graphics

2512


can inline function declare in private part of class?

4495


What is object in oop with example?

1299


What are the 4 main oop principles?

1264


What is abstraction in oop with example?

1188


What is interface? When and where is it used?

2205


What is multilevel inheritance?

1255


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

6682


Get me a number puzzle game-program

2307