Chapter
Nested Structures
From ComputerScienceOne by Dr Chris Bourke
Concepts
- How should structure names and member variables be declared in C?
"typedef struct Student { 2 ... 3 } Student; Which places the Student identifier in both the global space and in the “structure” space. Which style of declaration you use depends on several factors, b
- How can a date be modeled using a nested structure?
"Consider adding another member variable to the Student structure to model a student’s date of birth. How might we model a date? Unix systems model time as a single integer value that represents the n