2. How Do I Get Started in C?

With the main() Function

image

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.