2. How Do I Get Started in C?

With the main() Function


You get to see your first C program in this chapter! Please don’t try to understand every character of the C programs discussed here. Relax and just get familiar with the look and feel of C. After a while you will begin to recognize elements common to all C programs.

Getting a Glimpse

This section shows you a short but complete C program and discusses another program that appears in Appendix B. Both programs contain common and different elements. The first program is extremely simple. Here it is:

If you were ...

Get Absolute Beginner’s Guide to C, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.