CSE 333 25au Exercise 3

out: Wednesday, October 1, 2025
due: Friday, October 3, 2025 by 10:00 am, No late exercises accepted.

Goals: Write a program that uses structs, typedef, and dynamic memory allocation (malloc/free).

Description: Your job is to write a C program that does the following:

Note: we will be using valgrind to test whether your code has a memory leak! (You probably should too...)


Your code must:

You should submit your exercise using the Gradescope dropbox linked on the course resources web page.