Experiment 12: keywords, autos and externs
The Question:
Which of the names in params.cpp are
auto and which are extern names?
Exercise:
Print a hard copy of your most recent version of params.cpp.
Review the definitions of auto and extern,
and then on that hard copy:
-
underline each keyword,
-
draw a circle around each auto name, and
-
draw a box around each extern name.
(Hint: Use Appendix B of C++ An Introduction to Computing
to help identify the keywords.)
Back to the Lab Exercise
Copyright 1998 by
Joel C. Adams. All rights reserved.