Lecture notes for the Introduction to Computer Science I by James Tam Return to the course web page

Pointers

Notes for the required material 

Optional teaching material

Background / Sources of additional information

Teaching Tips

Some students may have already heard how difficult it can be to work with pointers.  Although this can be the case if one doesn't know what they are doing if a programmer keeps in mind the two main points stressed in the notes (pointers contain addresses and if the program is dealing with the pointer or what the pointer points to) as well as understanding how things are really working then pointers aren't as difficult as they might have heard.