4. Control Statements: Part II

Objectives

In this chapter you’ll:

Image Review the essentials of counter-controlled repetition.

Image Use the for and do...while repetition statements to execute statements repeatedly.

Image Use the switch selection statement to perform multiple selection.

Image Use the break and continue statements to alter the flow of control.

Use the ...

Get C for Programmers with an Introduction to C11 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.