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 data and make decisions.
Sometimes you’ll use a parameter to pass values between a calling and a called function. Sometimes these parameters are passed by value; 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.
So far, all of the variables you’ve declared are ...