| <<< Function definitions | Index | Problem with function definitions >>> |
Each function definition has the form:
return-type function-name( argument-declarations )
{
/* variable declarations and statements */
}
A minimal function is:
void dummy( ) { }
which does nothing and returns nothing.
A do-nothing functions sometimes are useful as a placeholder during program development.
| <<< Function definitions | Index | Problem with function definitions >>> |