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
What is the default access specifier in a class definition?
What is the @functionalinterface annotation?
What is method overriding?
what is virtual function and pure virtual function ?
What is function override?
Which OOPS concept exposes only the necessary information to the calling functions?
What is the difference between data hiding and implementation?
What are the four important foundation concepts of OOP ?
What is the difference between an error and an exception?
What is the main difference between a class and an object?
What is the difference between an interface and abstract class?
If a class inherits an interface, what are the 2 options available for that class?
What are the features that are provided to make a program modular?
Name the different creational patterns in object oriented design?
What is data encapsulation and what is its significance?