C Trivia Question
Tom Tkacik
tkacik at kyzyl.mi.org
Fri Sep 21 10:15:02 AEST 1990
In article <1990Sep17.214906.20076 at odin.corp.sgi.com>, mtoy at sgi.com (Michael Toy) writes:
> Can you think of a C statement which a compiler accepts that has
> a really long string of C keywords, with no operators between them?
> typedef const unsigned long int volatile GARK;
> static const unsigned long int volatile GARK;
> extern const unsigned long int volatile GARK;
How about something like
if(0) /* anything */ ;
else static const unsigned long int volatile GARK;
Is this legal?
--
Tom Tkacik tkacik at kyzyl.mi.org
Speaking only for myself here in Royal Oak.
More information about the Comp.lang.c
mailing list