Chapter 6

Controlling YourProgram's Flow

So far, you've learned quite a bit about the C language. You know about functions (especially one named main()), which are made up of statements, each of which is terminated by a semicolon. You know about variables, which have a name and a type. Up to this point, you've dealt with variables of type int.

You also know about operators, such as =, +, and +=. You've learned about postfix and prefix notation and the importance of writing clear, easy-to-understand code. You've learned about the Standard Library, a set of functions that comes as standard equipment with every C programming environment. You've also learned about printf(), an invaluable component of the Standard Library.

Finally, you've learned ...

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.