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

explain the reference variable in c++?

1016


What is polymorphism in c++? Explain with an example?

986


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

2301


What does scope resolution operator do?

1049


What are the advantages of c++? Explain

1004


What does it mean to declare a member variable as static?

1004


What are files in c++?

977


Is there any difference between int [] a and int a [] in c++?

943


Can circle be called an ellipse?

1026


What is c++ mutable?

1081


Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

997


What is oop in c++?

1033


What are the advantages of inheritance in c++?

1043


What is the meaning of string in c++?

1010


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3793