Session Details
Week 9,
Session 27 — Fri Nov 7
Reading
-
Pages 138-142, 143-146 (malloc and free)
-
Pages 188-192 (Dynamic Allocation of arrays, strings, and structs)
HW Due
-
HW 26
Topics
-
Dynamic allocation of arrays and strings
-
Malloc and free
-
Pointers to structs
Outline
-
[10 min] Hand back quiz, answer questions, final exam info.
-
[25 min] Dynamically allocating arrays--sizeof, malloc, and free
-
[5 min] Break
-
[20 min] Pointers to structs
-
[40 min] Homework
Dynamic Memory Allocation
HW Assigned
-
HW 27