...
- The incomplete array type must be the last element within the structure.
- There cannot be an array of structures that contain flexible array members.
- Structures that contain a flexible array member cannot be used as a member in the middle of another structure.
MEM33-C. Allocate and operate on structures containing a flexible array members dynamically describes how to allocate and copy structures containing flexible array members].
Noncompliant Code Example
...