Syntax of aFunction Definition
type FunctionName (list of formal parameters)
{
variable declarations
statements
}
Everything before the first brace the header
Everything between the braces is the body
Previous slide
Next slide
Back to first slide
View graphic version