Lesson 5: Some Helpful Pointers

Outline:

  1. Discussion: academic integrity
  2. Pointers
    • variable addresses
      • * versus &
      • arrays and pointers
    • static vs. dynamic allocation
    • example: pointers.c
  3. Understanding variables and memory
    • sizeof
    • example: sizes.c (includes typedef example)
  4. Assignment 4: Queues in C

Want additional practice?

Check out the interactive exercises from our textbook!

Reading assignment (to be completed by the next class):