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 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.