Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!cory.Berkeley.EDU!klatchko From: klatchko@cory.Berkeley.EDU (ron klatchko) Newsgroups: comp.lang.c Subject: the default of a switch Message-ID: <10833@pasteur.Berkeley.EDU> Date: 9 Mar 89 01:30:00 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: klatchko@cory.Berkeley.EDU (ron klatchko) Organization: University of California, Berkeley Lines: 11 In a C switch statement, if you have a 'default' part, does it have to go below all the 'case' parts? As a matter of style, I know it should, but how about offical C syntax? How about the ANSI standard? Thanks. ron P.S. please send replys to this account -------------------------------------------------------------------------------- Ron Klatchko klatchko@cory.Berkeley.EDU ...!ucbvax!cory!klatchko