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
while), operators (such as
*=), 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 ...