Section 18.12 Summary
In this chapter, we learned that:
-
For each function call, there is a separate area in memory created for the parameters passed to the function and for the function’s local variables.
-
Variables declared in functions are known as local variables. That is, their scope is limited to the duration of the function being executed.
-
Each variable is stored in form and using a number of bytes that is pre-defined and compiler-dependent. This means that roundoff errors can (and will) occur and that there are limits to the size of numbers that can be represented in a given data type.