Table of Contents
Lesson 1: Getting Started with C
A Brief History of the C Language
Linking to Create an Executable File
Completing the Development Cycle
Entering and Compiling hello.c
Lesson 2: The Components of a C Program
The main()
Function (Lines 9 Through 23)
The #include
and #define
Directives (Lines 2 and 3)
The Variable Definition (Line 5)
The Function Prototype (Line 7)
Program Statements (Lines 12, 13, 14, 17, 19, 20, 22, and 28)
Get C Programming in One Hour a Day, Sams Teach Yourself, 7th 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.