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:
“School divides life into two segments, which are increasingly of comparable length. As much as anything else, schooling implies custodial care for persons who are declared undesirable elsewhere by the simple fact that a school has been built to serve them.”
—Ivan Illich (b. 1926)
“Morality and its victim, the motherwhat a terrible picture! Is there indeed anything more terrible, more criminal, than our glorified sacred function of motherhood?”
—Emma Goldman (18691940)