< Atomic Spin Services Credentials Portfolio Approach Culture Blog Contact We're Hiring Atomic Spin #masthead Close By: John Van Enk Posted In Embedded Systems About This Author March 25, 2014 by: John Van Enk 4 Comments .entry-meta .entry-header I love C’s structs. There’s a lot of weirdness in C but, for the most part, structs are predictable, useful, and easy to understand. Structs, for those not familiar with C, are collections of data. An example of a struct is a point on a Cartesian plane: 1 2 3 4 struct point { int x ; int y ; } ; Normally, structs are used to associate two or more pieces of data. As the title suggests, I’m going to demonstrate why you might want to use a struct with a single element. Unlike structs, C’s arrays are bothersome, have many surprising...