C inconsistency?
Andrew Koenig
ark at alice.UUCP
Sat Apr 1 06:04:53 AEST 1989
In article <1989Mar30.192903.28426 at gpu.utcs.toronto.edu>, sarathy at gpu.utcs.toronto.edu (Rajiv Sarathy) writes:
> Is this an inconsistency ?:
>
> struct element {
> char *key;
> int level;
> struct element **fpointer;
> }
> struct element *head[LEVELCAP]; /* array of pointers to struct */
What happens when you put in the missing semicolon?
struct element {
char *key;
int level;
struct element **fpointer;
}; /* note the semicolon here */
struct element *head[LEVELCAP]; /* array of pointers to struct */
What happens when you put in the missing semicolon?
--
--Andrew Koenig
ark at europa.att.com
More information about the Comp.lang.c
mailing list