Next: , Previous: , Up: Aggregate Types   [Contents][Index]


6.2.5 Structures with only Flexible Array Members

GCC permits a C99 flexible array member (FAM) to be alone in a structure:

struct only_fam {
  int b[];
};

The size of such a structure is zero.