Higher-order function: Difference between revisions

Content deleted Content added
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">