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

What is the difference between global variables and local variable

1039


Are iterators pointers?

1135


Is c++ primer good for beginners?

1026


What is ios class in c++?

1096


What are the advantage of using register variables?

1150


What are libraries in c++?

1052


What is the difference between strcpy() and strncpy()?

1127


Can member functions be private?

990


What c++ is used for?

1053


Explain the difference between new() and malloc() in c++?

1123


What is an undefined behavior and sequence points

986


Write a code/algo to find the frequency of each element in an array?

1094


Does c++ have arraylist?

999


What is unary operator? List out the different operators involved in the unary operator.

979


What are the four main data types?

1076