Chapter 5

C Basics: Variablesand Operators

at this point, you should feel pretty comfortable using Xcode. You should know how to open a project and how to edit a project's source code. You should also feel comfortable running a project and (heaven forbid) fixing any syntax errors that may have occurred along the way.

On the programming side, you should recognize a function when you see one. When you think of a function, you should first think of main(), the function that gets called to start your program. You should remember that functions are made up of statements.

With these things in mind, we're ready to explore the foundation of C programming: variables and operators. Variables and operators are the building blocks you'll use to construct ...

Get Learn C on the Mac now with O’Reilly online learning.

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