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