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...

class base
{
public:
int fun(int)
{}
};
class base2
{
public:
int fun(float)
{
}
};
so here qustion is both function either function
overloading or over riding;

Answer Posted / utpal kashyap

Overloading...
Because Function overloading depends upon type of parameters/number of parameters (NOT type of function) passed in function, So this is the example of function overloading.

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use this pointer inside static member function?

1077


What does the ios::ate argument do?

1194


Which bit wise operator is suitable for turning off a particular bit in a number?

1124


What is c++ array?

1129


What is the purpose of template?

1117


What does the linker do?

1052


What is the difference between an array and a list?

1039


describe private access specifiers?

1251


what does the following statement mean? int (*a)[4]

1084


What are the advantages of c++? Explain

1066


How would you obtain segment and offset addresses from a far address of a memory location?

1091


How do you declare a set in c++?

962


What do you mean by vtable and vptr in c++?

1044


Explain what are the sizes and ranges of the basic c++ data types?

1166


why and when we can declar member fuction as a private in the class?

2081