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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.