* X more docs for C
[mascara-docs.git] / C / the.ansi.c.programming.language / c.programming.notes.int / sx10.html
blob9b759fb3309ed087dfcca8415822aea34711f069
1 <!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
2 <!-- This collection of hypertext pages is Copyright 1995-7 by Steve Summit. -->
3 <!-- This material may be freely redistributed and used -->
4 <!-- but may not be republished or sold without permission. -->
5 <html>
6 <head>
7 <link rev="owner" href="mailto:scs@eskimo.com">
8 <link rev="made" href="mailto:scs@eskimo.com">
9 <title>Chapter 24: Pointers To Functions</title>
10 <link href="sx9b.html" rev=precedes>
11 <link href="sx10a.html" rel=precedes>
12 <link href="top.html" rev=subdocument>
13 </head>
14 <body>
15 <H1>Chapter 24: Pointers To Functions</H1>
17 <p>The pointers we have looked at so far
18 have all been pointers to various types of data objects,
19 but it is also possible to have pointers to functions.
20 Pointers to functions are useful
21 for approximately the same reasons as pointers to data:
22 when you want an extra level of indirection,
23 when you'd like the same piece of code
24 to call different functions depending on circumstances.
25 </p><p><a href="sx10a.html" rel=subdocument>24.1 Declaring, Assigning, and Using Function Pointers</a></p>
26 <p><a href="sx10b.html" rel=subdocument>24.2 What are Function Pointers Good For?</a></p>
27 <p><a href="sx10c.html" rel=subdocument>24.3 Function Pointers and Prototypes</a></p>
28 <hr>
29 <p>
30 Read sequentially:
31 <a href="sx9b.html" rev=precedes>prev</a>
32 <a href="sx10a.html" rel=precedes>next</a>
33 <a href="top.html" rev=subdocument>up</a>
34 <a href="top.html">top</a>
35 </p>
36 <p>
37 This page by <a href="http://www.eskimo.com/~scs/">Steve Summit</a>
38 // <a href="copyright.html">Copyright</a> 1996-1999
39 // <a href="mailto:scs@eskimo.com">mail feedback</a>
40 </p>
41 </body>
42 </html>