.TH default "" "" "C Keyword"
.PC "Default label in switch statement"
.PP
.B default
is a prefix used in
.B switch
statement.
If none of the
.B case
labels match the parameter in the
.B switch
statement, then the
.B default
label is used.
A
.B switch
is not required to have a
.B default
case, but it is good programming practice to use one.
.SH "See Also"
.Xr "C keywords," c_keyword
.Xr "case," case
.Xr "switch" switch
.br
\*(AS, \(sc6.6.4.2
