Chapter 8
Variable Data Types
now we're cooking! You may now consider yourself a C Programmer, First Class. At this point, you've mastered all the basic elements of C programming. You know that C programs are made up of functions, one—and only one!—of which is named main()
. Each of these functions uses keywords (such as if
, for
, and while
), operators (such as =
, ++
, and *=
), and variables to manipulate the program's data.
Sometimes, you'll use a parameter to share a variable between a calling and a called function. Sometimes, these parameters are passed by value, and other times, pointers are used to pass a parameter by address. Some functions return values. Others, declared with the void
keyword, don't return a value.
In this chapter, we'll ...
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.