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 protected in oop?

1066


write knight tour problem which is present in datastructure

2648


What is class and object with example?

1122


• What are the desirable attributes for memory managment?

2225


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

2160


What is object in oop with example?

1225


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

2125


Why is abstraction used?

1089


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2590


Where You Can Use Interface in your Project

1885


What language is oop?

1007


write a programe to calculate the simple intrest and compund intrest using by function overlading

2194


why reinterpret cast is considered dangerous?

2387


What is use of overloading?

1134


Can we create object of abstract class?

1082