switch and case

Jump straight to the matching case with switch, stop with break, and catch the rest with default.

Lesson complete

Nice work. Replay it any time.

All courses

About this topic

Jump straight to the matching case with switch, stop with break, and catch the rest with default.

Part of C Programming & Pointers: 28 topics, 5 free.

More topics in this course