Skip to content

Glossary: C Basics

switch

Also written: case, default

A statement that compares a whole number with fixed case values and runs the matching one. default runs when none match.

Where the book teaches it

Related terms

breakFall-through