Structures and Function Calls
Structures and Function Calls
Referencing Structure Members with the Dot Operator
Referencing Structure Members with the Dot Operator
What Is a Structure?
As you've learned, arrays can be used to collect groups of variables of the same type.
Exercises : Answer the following Question
To help solidify your understanding of this hour's lesson, you are encouraged to answer the quiz questions and finish the exercises provided in the
Question and Answer
Q What can you do with the enum data type?
Revisiting the main() Function
Revisiting the main() Function
Recursive Functions
Recursive Functions
Making typedef Definitions
Making typedef Definitions
The enum Data Type
The enum Data Type
Exercises : Answer the following Question
To help solidify your understanding of this hour's lesson, you are encouraged to answer the quiz questions and finish the exercises provided in the
Question and Answer
Q Why do you need to allocate memory at runtime?
The realloc() Function
The realloc() Function
The calloc() Function
The calloc() Function
Releasing Allocated Memory with free()
Releasing Allocated Memory with free()
Allocating Memory at Runtime
Allocating Memory at Runtime
Exercises : Answer the following Question
To help solidify your understanding of this hour's lesson, you are encouraged to answer the quiz questions and finish the exercises provided in the
Question and Answer
Question and Answer
Q Why do you need pointer arithmetic?
Pointing to Functions
Pointing to Functions
Arrays of Pointers
Arrays of Pointers
Pointers and Functions
Pointers and Functions