

default                     C Keyword                     default




Default label in switch statement


default is  a prefix  used in switch  statement.  If none  of the
case labels match the parameter in the switch statement, then the
default  label is  used.   A switch  is  not required  to have  a
default case, but it is good programming practice to use one.

***** See Also *****

C keywords, case, switch













































COHERENT Lexicon                                           Page 1


