CS 2734 Computer Organization II -- Spring 2002
Laboratory 6 [Feb 18, 20]:
Function Calls, Parameters,
and Automatic and Static Variables

This laboratory practices function calls and the use of parameters (including an array as a parameter), and works with the representation of static and automatic variables. You must allocate an array on the stack as an automatic variable. Note that you were given code for one of these functions (writeArray) as part of a course handout about arrays. This handout focused on array versus pointer notation, as discussed in your text, section 3.11, pages 171-174. The handout compared the two ways to deal with arrays, but the write_array function is the same in both versions.
   array notation and
   pointer notation.

Before the laboratory:

For checkoff:

Additional comments:


Revision date: 2001-09-28. (Please use ISO 8601, the International Standard.)