O'Reilly logo

C Primer Plus, Fifth Edition by Stephen Prata

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 2INTRODUCING C

You will learn about the following in this chapter:

• Operator:

=

• Functions:

main(), printf()

• Putting together a simple C program

• Creating integer-valued variables, assigning them values, and displaying those values onscreen

• The newline character

• How to include comments in your programs, create programs containing more than one function, and find program errors

• 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 such as {, cp->tort, and *ptr++. As you read through this book, however, you will find that the appearance of these and other characteristic C symbols grows less ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required