Outline for May 5, 2025
Reading:
zyBooks text
§7.1–7.4
Due:
Homework #3, due May 14, 2025
Review of dynamic memory allocation
sizeof
keyword [
memoops.c
]
Library functions
malloc
,
realloc
.
calloc
,
free
[
dyngets.c
,
mcat.c
]
Example: change
sort.c
to handle any number of numbers [
usort1.c
,
usort15.c
]
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.