Function Prototype

A function prototype in C, Perl or C++ is a declaration of a function that omits the function body but does specify the function's return type, name, arity and argument types. While a function definition specifies what a function does, a function prototype can be thought of as specifying its interface.

In a prototype, argument names are optional, however, the type is necessary along with all modifiers (e.g. if it is a pointer or a const argument).

Read more about Function Prototype:  Example, Uses

Famous quotes containing the words function and/or prototype:

    The function of comedy is to dispel ... unconsciousness by turning the searchlight of the keenest moral and intellectual analysis right on to it.
    George Bernard Shaw (1856–1950)

    The Ancient Mariner seizes the guest at the wedding feast and will not let go until he has told all his story: the prototype of the bore.
    Mason Cooley (b. 1927)