COHERENT manpages

This page displays the COHERENT manpage for default [Default label in switch statement].

List of available manpages
Index


default -- C Keyword

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
ANSI Standard, §6.6.4.2