Why does static initialization of flexible array member work?
Initialization of flexible array member in this way is not allowed as per C standard. C11: 6.7.2.1 Structure and union specifiers (p20-21): 21 EXAMPLE 2 After the declaration: struct s { int n; double d[]; }; the structure struct s has a flexible array member d. […] 22 Following the above declaration: struct s t1 … Read more