|
Additional requirements for graduate studentsIn addition to implementing all of the features of Micro-C as described in class handouts, you will have to implement handling of the reference parameters and one-dimensional arrays.
Remember that arrays in C are passed by reference. It should be
possible to supply an array actual parameter in place of a suitable
reference formal parameter. When declaring an array as a parameter you
must leave out its size in function declaration or definition,
i.e. use only []. As an illustration, please examine the the following two examples: factorial (with reference parameters) and sorting (with arrays). |