Outline for May 5, 2025

Reading: zyBooks text §7.1–7.4
Due: Homework #3, due May 14, 2025


  1. Review of dynamic memory allocation
    1. sizeof keyword [memoops.c]
    2. Library functions malloc, realloc. calloc, free [dyngets.c, mcat.c]
    3. Example: change sort.c to handle any number of numbers [usort1.c, usort15.c]

UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
ECS 36A, Programming & Problem Solving
Version of May 6, 2025 at 10:31AM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh