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:
“Uncontradicting solitude
Supports me on its giant palm;
And like a sea-anemone
or simple snail, there cautiously
Unfolds, emerges, what I am.”
—Philip Larkin (19221986)
“To look backward for a while is to refresh the eye, to restore it, and to render it the more fit for its prime function of looking forward.”
—Margaret Fairless Barber (18691901)