O'Reilly logo

Just Enough C/C++ Programming by Guy W. Lecky-Thompson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. C Program Structure

The aim of this chapter is to cover the basic C program structure, so that you become familiar with the main parts of a program.

After reading this chapter, you should take away a very clear overview of the different parts of a C program and be well equipped to read, if not completely understand, a simple piece of C code. There is such a piece of code at the end of the chapter that contains all the elements described in the chapter’s text.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required