I've seen some C code that creates a structure and within the structure there are a number of arrays. Some of those arrays are of size one. So why bother making it an array? Why not just a single int?
I'm talking about something like this:
struct Foo
{
uint8_t Bar[1];
uint32_t BigBar[4];
};
Why not make it just
struct Foo
{
uint8_t Bar;
uint32_t BigBar[4];
};