Next: The if else Up: C Programming Previous: Summary

Control Statements

A program consists of a number of statements which are usually executed in sequence. Programs can be much more powerful if we can control the order in which statements are run.

Statements fall into three general types;

This section will discuss the use of control statements in C. We will show how they can be used to write powerful programs by;



January 1995