Skip to main content
Contents Index
Search Book
Search Results:
No results.
Readability settings Prev Up Next
\(\newcommand{\N}{\mathbb N}
\newcommand{\Z}{\mathbb Z}
\newcommand{\Q}{\mathbb Q}
\newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 18.13 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.