Program Structure

You've examined, compiled, and run the sample C program, so you probably have a pretty good idea what it does and how it works. But you still don't know much about the specific syntax rules for writing C programs.

Before we get into a line-by-line discussion, however, let's take a closer look at the overall structure of the program. The rest of this lesson talks about these structure. We'll talk about the individual statements in the program in the next lesson.


Eric N. Eide
Hamlet Project
Department of Computer Science
University of Utah