Session Details

Week 9, Session 26 — Tue Nov 2

Reading Due

  1. Take-home Quiz
  2. ( 4:38) Pointer Syntax [local] [slides]
  3. ( 4:59) Worked example: Pointers In the Debugger [local] [slides]
  4. ( 8:25) Worked example: Pointers as Parameters [local] [slides]
  5. (12:02) Worked example: Pointers Practice and Pitfalls [local] [slides]
  6. ( 5:55) More Box and Pointers [local] [slides]

Topics

  1. Pointers and memory allocation
  2. Arrays and pointer arithmetic
  3. Dynamically-sized arrays: malloc and free

Homework 10