Structures (or “structs” in C) allow you to group several related variables and treat them as one unit. They are a mechanism for extending the type system of the C language by introducing user-defined ...
Structs have a slightly complicated syntax, but if you follow how they work it all makes sense. We have already met the array, which is a block of memory used to store a repeated type - i.e. an int ...