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

Why does the function arguments are called as "signatures"?

Answer Posted / some guy

Actually, the answer is not complete, so as question is
not, let's say, "perfect". "signature" is not arguments
only, but plus "const"ness. For example in example above,
in class person there could be absolutely legal to have two
functions:
char getsex();
char getsex() const;

Though the answer would be ABSOLUTELY correct, so as the
question, in case we're talking about "functions" and NOT
about "member functions"

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules to define a functional interface?

988


How many methods do u implement if implement the serializable interface?

914


What is data encapsulation and what's its significance?

1020


Define modularity?

1030


Explain the abstract class modifier?

845


Write a note on encapsulation?

973


What is an interface?

990


How can we restrict inheritance for a class so that no class can be inherited from it?

1044


What is constructor and virtual function? Can we call virtual funciton in a constructor?

976


If a method definition has been specified in the base class and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?

924


Are constructors inherited? Can a subclass call the parent's class constructor? When?

963


What is the difference between function overloading and over riding?

996


Define Initialisation Purpose.

966


Explain about a class in oop?

946


What is the main difference between overloading and overriding?

1045