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's the difference between function overloading and
function overiding?

Answers were Sorted based on User's Feedback



what's the difference between function overloading and function overiding?..

Answer / a srinivas rao

function overloading is the process of defining the same
function name with different arguments,number of
arguments ,or ordinal positions of arguments.

function overriding is the process of defining the Base
class function in the derived class with different code
implementation.

Is This Answer Correct ?    63 Yes 5 No

what's the difference between function overloading and function overiding?..

Answer / vinita taneja

1.function overloading is the function having same name but with different signatures whereas , if there is a member function having same name in both base and derived class , then the member function of derived class will be executed and this is called function overriding.

2.there is no concept of inheritance in function overloading whereas it is there in function overriding.

3.in function overloading , signatures must be different whereas in function overriding , signatures must be same.

Is This Answer Correct ?    26 Yes 0 No

what's the difference between function overloading and function overiding?..

Answer / mms zubeir

Function overloading is providing more than one function
with the same name which will operate on different
type/number of input data. Most probably, the kind of
operation will not be changed.

Function overriding is nothing but giving different
operations with the same function name and with same type
of input data (that is, the signature is not being changed)
depending upon the context (the context here means that the
class that holds the function of a hierarchy of classes)

Is This Answer Correct ?    18 Yes 7 No

what's the difference between function overloading and function overiding?..

Answer / mishtu

not necessary to have same return type in function overloading

Is This Answer Correct ?    12 Yes 7 No

what's the difference between function overloading and function overiding?..

Answer / niranjan ambati

The above answers are correct but some more things can be
added to the above stuff..
Function overloading is the function which is defined more
than once with a different argument types and no. of
arguments, but all these functions should have the same
return type.

Function overriding is the function which is defined in
base class and derived classes with the different
implementations.

Is This Answer Correct ?    5 Yes 12 No

Post New Answer

More STL Interview Questions

Is stl part of c++ standard?

0 Answers  


How connect plc and pc through software

0 Answers  


what is the acronym of the term 'C.O.M.P.U.T.E.R' ?

17 Answers   Config Systems, Google, Wipro,


What are the symptoms of stl?

0 Answers  


Explain how to insert a hyperlink in to an Excel worksheet and save a Word document as a Web page.

1 Answers  


how to making game in c++ ?

0 Answers  


What is Object Oriental Progam

2 Answers  


Diffrernce Between Overloading and Overriding?

2 Answers   Wipro,


Why should a c++ programmer be interested in stl?

0 Answers  


how can u do connectivity in c++ language? plz send me connectivity code in c++ ?

0 Answers   Ascent,


if x<>=z then statement end what is the cyclomatic complexity

5 Answers  


How stl is different from the c++ standard library?

0 Answers  


Categories