Function Pointer - Simple Function Pointers

Simple Function Pointers

The simplest implementation of a function (or subroutine) pointer is as a variable containing the address of the function within executable memory. Older third-generation languages such as PL/I and COBOL, as well as more modern languages such as Pascal and C generally implement function pointers in this manner. Such pointers in older languages are generally less type-safe than in more modern languages, though, since the latter associate more typing information with a function pointer variable, such as the data type of the return value of the function and the data type information of the parameters to the function.

Read more about this topic:  Function Pointer

Famous quotes containing the words simple and/or function:

    Our whole walk was through a thoroughly Catholic country, and there was no trace of any other religion. I doubt if there are any more simple and unsophisticated Catholics anywhere.
    Henry David Thoreau (1817–1862)

    Of all the inhabitants of the inferno, none but Lucifer knows that hell is hell, and the secret function of purgatory is to make of heaven an effective reality.
    Arnold Bennett (1867–1931)