C by Example

Chapter 2 Analyzing C Programs
Once you complete this chapter, you'll better understand just why a C program looks the way it does. A C program is rather cryptic until you familiarize yourself with its structure, even if you understand other programming languages. C's heavy reliance on special characters, as opposed to a heavy use of commands, makes C programs rather mysterious to newcomers.
This chapter teaches you the following:
The fundamentals of C program structures
The two kinds of C comments
Variable and constant locations
Simple math operators
Textual screen output format

 

Категории