Arrays and Dynamic allocation (Lecture 8)
Preparatory Work:
Work on assignment 1
New readings: King Chapter 22 or K&R Chapter 7, formatted output (files).
and King Chapter 9 or K&R Chapter 4, functions and programs.
Press here for other lectures
Press here for
Lecture #8 slides (Adobe PDF viewable)
Press here for inclass notes on
worked example (use ghostview to view and print)
Look at
pointers-1.c
and its associated output
pointers-1.log,
and also
pointers-2.c
and its associated output
pointers-2.log.
Press here for basis of upcoming lectures
(Structures)