Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!mit-eddie!rutgers!att!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c Subject: Re: C inconsistency? Message-ID: <9126@alice.UUCP> Date: 31 Mar 89 20:04:53 GMT References: <1989Mar30.192903.28426@gpu.utcs.toronto.edu> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 24 In article <1989Mar30.192903.28426@gpu.utcs.toronto.edu>, sarathy@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@europa.att.com