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:

    Of course, Behaviorism “works.” So does torture. Give me a no- nonsense, down-to-earth behaviorist, a few drugs, and simple electrical appliances, and in six months I will have him reciting the Athanasian Creed in public.
    —W.H. (Wystan Hugh)

    My function in life is not to be a politician in Parliament: it is to get something done.
    Bernadette Devlin (b. 1947)