Unit V: Pointers and memory
Lecture notes
Notes for class V.1: Pointers and arrays
1 slide per page, PDF
.
4 slides per page, PDF
.
Notes for class V.3: Using pointers
1 slide per page, PDF
.
4 slides per page, PDF
.
Sample Programs
From class V.1
array of characters
array of integers
pointers
more pointers
references
array of points
pointer to points
From class V.3
call-by-value
call-by-reference using references
call-by-reference using pointers
dynamic memory allocation
Reading
You should look at Chapter 3 of the textbook.