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#1Checked automatically with code checker

Synopsis:An array base type must not have function type.
Language:C
Severity Level:2
Category:DECLARATIONS


Description:
This leads to undefined behaviour.Arrays of pointers to functions are legal, however, so it probably was supposed to mean the following:

Example:

int array[10](void); /* undefined */
int (*array[10])(void); /* probably this is meant */