Sample Video Frame
Exercise 16: Structs And Pointers To Them
In this exercise, you'll learn how to make a struct
, point a pointer at it, and use it to make sense of internal memory structures. We'll also apply the knowledge of pointers from the last exercise, and then get you constructing these structures from raw memory using malloc
.
As usual, here's the program we'll talk about, so type it in and make it work.
Register for Learn C the Hard Way
Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.