Previous: 3.2 Defining Functions
Up: 3 Designing Programs Top Down
Next: 3.4 Interacting with the Operating System
Previous Page: 3.2.2 Call by Value and Local Variables
Next Page: 3.3.1 The C Preprocessor
In the previous sections we have seen how to organize programs modularly, beginning with the algorithm, and carrying that organization into the code using functions. This is a form of information hiding, i.e. the details of performing a particular operation are hidden from the more abstract steps of the algorithm. Here we are hiding ideas or abstractions at the algorithm level. Another form of information hiding at the source code level is described in this section; namely hiding the details of the syntax of the language in order to make the source code more readable.