Submitted by admin on

 Function definition

syntax for defining a function is depends on the programming language because it vary from language to language

python here
...
...
   return-value-type function-name( parameter-list )
   {
        declaration of local variables;
        statements;

        return return-value;
   }

function header

The body of the function