Computing Averages
double average(double a, double b)
{
return (a + b) / 2;
}
What is the Function Return Type?
What is the Function Body?
What are the Function Parameters?
What are Function Arguments?
Does every function need to return a value?
Does every function need to have a parameter?
What’s the syntax of a Function Definition?
Can functions return arrays?
What’s the syntax of a Function Call?
What does printf
and scanf
return as a value to the function call?