COP 3014 Recitation - Week 12
Structs!
Cake or pie? Cake or pie?
The cake is a lie. Click here for an
informal proof.
The goal of this session is to help you to better understand structs and how they are stored
in memory. This should help you with assignment 6.
- First, complete this file (read the comments in the file) (less than 5 minutes)
- Complete this file (30 minutes)
- Analyze this. What's wrong? (3 minutes)
- Analyze this. What's wrong? (3 minutes)
- Analyze this. What's wrong? (3 minutes)
- Analyze this. What's wrong? (3 minutes)
- Analyze this. What's wrong? (3 minutes)
Program examples