Lesson 13. Advanced Program Control

Lesson 6, “Basic Program Control,” introduced several C program control statements that govern the execution of other statements in your program. This lesson covers more advanced aspects of program control, including the goto statement and some of the more interesting things you can do with loops. In this lesson you learn

Image How to use the break and continue statements

Image What infinite loops are and why you might use them

What the goto statement is and why you should avoid it

How to use the switch statement

How ...

Get C Programming in One Hour a Day, Sams Teach Yourself, 7th Edition 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.