Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!umich!sharkey!cfctech!rphroy!kyzyl!tkacik From: tkacik@kyzyl.mi.org (Tom Tkacik) Newsgroups: comp.lang.c Subject: Re: C Trivia Question Message-ID: <238@kyzyl.mi.org> Date: 21 Sep 90 00:15:02 GMT References: <1990Sep17.214906.20076@odin.corp.sgi.com> Organization: Somewhere in Royal Oak, MI Lines: 18 In article <1990Sep17.214906.20076@odin.corp.sgi.com>, mtoy@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@kyzyl.mi.org Speaking only for myself here in Royal Oak.