I sort of thought that in C empty structures/unions where not legal as part of the standard (since they would be fairly useless).
I thought that it was only in C++ where it was valid to have an empty structure/union/class because they have a use as the base of other structures/unions/classes.
Comment