Chapter 2. Introducing C
You will learn about the following in this chapter:
Operator:
=
Functions:
main(), printf()
Putting together a simple C program
Creating integer-valued variables, assign them values, and display those values onscreen
The newline character
How to include comments in your programs, create programs containing more than one function, and find program errors
Also, you discover what keywords are.
What does a C program look like? If you skim through this book, you'll see many examples. Quite likely, you'll find that C looks a little peculiar, sprinkled with symbols like {, cp->tort, and *ptr++. As you read through this book, however, you will find that the appearance of these and of other characteristic C symbols grows less strange, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access