Outline for April 30, 2025
Outline for April 30, 2025
Reading:
zyBooks text
§7.1–7.4, 8.3 8.6, 8.7
Due:
Homework #2, due April 30, 2024
Review for midterm
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
]
Structures
What they are; how to reference fields
Linked lists [
linked.c
]
Structures and multiple arrays [
planets1.c
,
planets2.c
,
planets3.c
,
planets4.c
]
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email:
mabishop@ucdavis.edu
ECS 36A, Programming & Problem Solving
Version of April 28, 2025 at 10:45PM
You can also obtain a PDF version of this.