TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - C Coding Standard
Search

SR:  8.6.2#2Checked automatically with code checker

Synopsis:Arrays must not be constructed from incomplete types.
Language:C
Severity Level:3
Category:DECLARATIONS


Description:
This can lead to strange behaviour.

Example:

int array[3][]; /* 3 element array of ? element arrays - undefined */
int array[][3]; /* ? element array of 3 element arrays - Ok */