#3 toso992
Ved tam mas popis:
type name ( parameter1, parameter2, ...) { statements }
where:
-
type is the data type specifier of the data returned by the function.
-
name is the identifier by which it will be possible to call the function.
-
parameters (as many as needed): Each parameter consists of a data type specifier followed by an identifier, like any regular variable declaration (for example: int x) and which acts within the function as a regular local variable. They allow to pass arguments to the function when it is called. The different parameters are separated by commas.
-
statements is the function's body. It is a block of statements surrounded by braces { }.