Function Pointers
Function pointers allow referencing functions with a particular signature. For example, to store the address of the standard function abs
in the variable my_int_f
:
Function pointers are invoked by name just like normal function calls. Function pointers are separate from pointers and void pointers.
Read more about this topic: C Data Types
Famous quotes containing the word function:
“The press and politicians. A delicate relationship. Too close, and danger ensues. Too far apart and democracy itself cannot function without the essential exchange of information. Creative leaks, a discreet lunch, interchange in the Lobby, the art of the unattributable telephone call, late at night.”
—Howard Brenton (b. 1942)