Content deleted Content added
Jerryobject (talk | contribs) m WP:LINKs update-standardize. |
→Function pointers: Fortran also supports procedure pointers |
||
Line 831:
=== Alternatives ===
====Function pointers====
[[Function pointer]]s in languages such as [[C (programming language)|C]], [[C++]], [[Fortran]], and [[Pascal (programming language)|Pascal]] allow programmers to pass around references to functions. The following C code computes an approximation of the integral of an arbitrary function:
<syntaxhighlight lang="c">
|