Wiki Markup |
---|
Flexible array members are a special type of array where the last element of a structure with more than one named member has an incomplete array type; that is, the size of the array is not specified explicitly within the structure. This "struct hack" was widely used in practice and supported by a variety of compilers. Consequently, a variety of different syntaxes have been used for declaring flexible array members. For C99-compliant implementations, use the syntax guaranteed valid by C99 \[[ISO/IEC 9899:1999|AA. Bibliography#ISO/IEC 9899-1999]\]. |
...
Wiki Markup |
---|
\[[McCluskey 2001|AA. Bibliography#McCluskey 01]\] ;login:, July 2001, Volume 26, Number 4 |
...
02. Declarations and Initialization (DCL) 03. Expressions (EXP)DCL38-C. Use the correct syntax when declaring flexible array members DCL38-C. Use the correct syntax when declaring flexible array members DCL39-C. Avoid information leak in structure padding