Lesson 3: Some Helpful Pointers

Outline:

  1. Pointers, revisited
    • *, &
    • static vs. dynamic allocation
    • example: pointers.c
  2. Number representations
    • bases: decimal, binary, hex
    • conversions: binary to decimal/hex
  3. Syllabus Q&A
  4. Assignment 2: Queues
    • code overview
    • C strings and char *
    • advice

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