Beginner - func. head

What is a function header? Give an example to justify your description.

Is this right: int main ()
If you have a function, yes, the header is like:

returning_value_type function_name(received_value_types parameter_name)

i.e.:
1
2
3
4
5
int sum_two_integers (int value1, int value2)
{
   int sum = (value1 + value 2);
   return sum;
}


int sum_two_integers (int value1, int value2) is the header.
Last edited on
Topic archived. No new replies allowed.