C Structs and Typedef
Structs
Declaring a struct
- Commonly used with
typedef
Passing structs to functions
- It’s far more common to pass a pointer to a struct to a function
Arrow Operator
Padding bytes
- C is allowed to add padding bytes within of after a
struct
as it sees fit. They’re not committed to be directly adjacent in memory.
- To findout where those structure are