go to default case c code example
Example: c switch case
switch (expression) {
case constant1:
// statements
break;
case constant2:
// statements
break;
default:
// default statements
}
switch (expression) {
case constant1:
// statements
break;
case constant2:
// statements
break;
default:
// default statements
}