Syllabus

  1. 01PointersSee memory as numbered bytes, take the address of a variable, store it in a pointer, read and write through it, move through arrays with pointer arithmetic, and walk strings character by character.6 lessons
    1. 01Memory and Addresses
    2. 02Declaring Pointers
    3. 03Dereferencing
    4. 04Pointer Arithmetic and Arrays
    5. 05Pointers and Strings
    6. 06Quiz: Pointers
  2. 02Memory ManagementLearn where variables live, allocate memory at runtime with malloc and calloc, resize it with realloc, give it back with free, and recognize the classic memory bugs and the tools that catch them.5 lessons
    1. 01The Stack and the Heap
    2. 02Allocating with malloc and free
    3. 03calloc and realloc
    4. 04Common Memory Bugs
    5. 05Quiz: Memory Management
  3. 03ProjectApply pointers, strings and heap allocation in a small string-copying library with safe, bounded copying.2 lessons
    1. 01Project: String Copier
    2. 02Quiz: Copying Strings