Skip to main content

Function declarations

Without a function declaration, a system does not know what a function is supposed to do. Some systems have function declarations built into their libraries, but if you create a new function, you have to write a function declaration in order to be able to use it. If the outcome of your function is supposed to be a cake, a function declaration is much like a recipe for the computer to follow.