Andrew Talbot wrote:
strictly, when the static storage specifier is applied, the size must be specified:
static char ar[5]; /* tentative definition */ static char ar[5] = "hello"; /* actual definition */
Of course, the size need not be specified in the case of the actual definition, so the following is what I should have typed.
static char a[] = "hello"; /* actual definition */