Function Parameters and Testing
In this class we review passing arrays as parameters and introduce more background on testing for correctness. We begin with a reading from your textbook, supplemented by a demonstration of passing functions as parameters to procedures, just as we did in Scheme, and conclude with another reading on testing.
- Textbook reading
- King: Sections 9.3, 11.1-11.2, pages 191-200, 241-245
- K&R: 1.7, 4.1-4.3, 5.1, 5.2
- Function pointers
- Testing
