type_fct nom_fonction(type par1, type par2…) /* en-tête de la fonction */
{
    type variable1 ; /* définition des variables locales */
    type variable2 ;
    ...
    instruction1 ;
    instruction2 ;
    ...
    return valeur_a_renvoyer ; /* obligatoire si la fonction n’est pas void */
}
