September 1998
Intermediate to advanced
848 pages
20h 13m
English
You will learn about the following in this chapter:
Keywords
auto, extern, static register, const, volatile
Function
rand()
In this chapter, you learn how C allows you to determine the scope of a variable (how widely known it is) and the lifetime of a variable (how long it remains in existence). Also, you gain experience in designing more complex programs.
One of C's strengths is that it enables you to control a program's fine points. C's storage classes exemplify that control by letting you determine which functions know which variables and for how long a variable persists in a program. Using storage classes is one more element of program design. There is more to programming than just knowing ...
Read now
Unlock full access