> C makes it very easy to get things subtly wrong. Yet another item to add to your code review checklist. Better yet, don't use zero size arrays unless you really have to.
You don't have to. C has flexible arrays in structs for this, and they actually work.
You don't have to. C has flexible arrays in structs for this, and they actually work.