Skip to main content
\(\newcommand{\doubler}[1]{2#1} \newcommand{\binary}{\mathtt} \newcommand{\hex}{\mathtt} \newcommand{\octal}{\mathtt} \newcommand{\prog}{\mathtt} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section2.12Programming Exercise

1

Enter the program in Listing 2.9.1. Follow through the program with gdb. Using the numbers you get, explain where the variables anInt and aFloat are stored in memory and what is stored in each location.