TOPIC 5.1.1
Indeterminate Values
The first time a variable is used, it must be used with caution. If the programmer uses a variable's value before it has been initialized, unpredictable results might occur. When a variable is declared, the compiler does not waste valuable processor time initializing the variable with a specific value. When memory is allocated to a variable, its value takes on the value already present in that particular memory location. This means that the variable may contain values from previously executed programs, or even code of a previous program. Also, remember that your program may be loaded into the exact location in memory where it was previously loaded. In this case, variables can start with the value they ended with the last time the program was executed.