C puzzle

Dave Harris Dave.Harris at f14.n15.z1.fidonet.org
Sun Jun 23 00:41:07 AEST 1991


In a message of <Jun 20 21:55>, thomas at advent.uucp (1:114/15) writes: 

 >        switch (cmd)
 >        {
...
 >                defalut:
 >                        printf ("Unknown command\n");
 >                        break;
 >        }


I glad to see I am not the only sucker that was bitten by this at one time.  
Its just another label as far as C is concerned (ie goto defalut;) 


 

--  
Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!15!14!Dave.Harris
Internet: Dave.Harris at f14.n15.z1.fidonet.org



More information about the Comp.lang.c mailing list