A minimal C program consists of a single function, which must be called main()

Definition of the function:

<return type>  <function name> ( <argument list> )
{
 <function body>
}

For example, suppose we decide to define a function called sum, which will accept one argument of type float, and generate no return value

void sum(float arg)
{
}

Back