Next: Compatible Types, Previous: Type Qualifiers, Up: Top [Contents][Index]
We have already presented many examples of functions, so if you’ve read this far, you basically understand the concept of a function. It is vital, nonetheless, to have a chapter in the manual that collects all the information about functions.
| • Function Definitions: | Writing the body of a function. | |
| • Function Declarations: | Declaring the interface of a function. | |
| • Function Calls: | Using functions. | |
| • Function Call Semantics: | Call-by-value argument passing. | |
| • Function Pointers: | Using references to functions. | |
| • The main Function: | Where execution of a GNU C program begins. | |
| • Advanced Definitions: | Advanced features of function definitions. | |
| • Obsolete Definitions: | Obsolete features still used in function definitions in old code. |