What is function header? How it is different from function signature.
Answers
Answered by
8
FUNCTION HEADER:
Functions consist of a header and a body. The header includes the name of the function and tells us (and the compiler) what type of data it expects to receive (the parameters) and the type of data it will return (return value type) to the calling function or program.
DIFFERENT FROM FUNCTION SIGNATURE :
A function signature is the parts of the function declaration that the compiler uses to perform overload resolution. ... As the standard says in a footnote, "Function signatures do not include return type, because that does not participate in overload resolution".
Mark me as brainliest.....
Similar questions