Related to the fact that arrays can't be assigned is the fact that they can't be returned by functions, either; that is, there is no such type as ``function returning array of ...''. In this chapter we'll study three workarounds, three ways to implement a function which attempts to return a string (that is, an array of char) or an array of some other type. In the last chapter, we looked at some code for converting an integer into a string of digits representing its value. This operation is the inverse of the function performed by the standard function atoi.
Everything you need to know about pointers in C. Style used in this document This is regular text.

This is a , some code, and some sample output.
The Function Pointer Tutorials - Index. The C Book — Variable numbers of arguments. It is often desirable to implement a function where the number of arguments is not known, or is not constant, when the function is written. Such a function is printf, described in Section 9.11. The following example shows the declaration of such a function. int f(int, ... ); int f(int, ... ) { . . . } int g() { f(1,2,3); }
Multitask. Function Pointers in C and C. A function pointer is a variable that stores the address of a function that can later be called through that function pointer.

This is useful because functions encapsulate behavior. For instance, every time you need a particular behavior such as drawing a line, instead of writing out a bunch of code, all you need to do is call the function. But sometimes you would like to choose different behaviors at different times in essentially the same piece of code. Read on for concrete examples. Example Uses of Function Pointers. C Right-Left Rule (Rick Ord's CSE 30 - UC San Diego)
The "right-left" rule is a completely regular rule for deciphering C declarations.