A struct like this works:
struct a {
char b;
int array[];
};
But if I put char b;
after int array[];
like this:
struct a {
int array[];
char b;
};
it gives me an error, more specifically "struct 'a' has an illegal zero-sized array". Why do I get this error only when the order is reversed?