|Synopsis:||Every variable that is declared is to be given a value before it is used|
|Category:||Object Life Cycle|
This value can be assigned in the declaration or later on, as long as a variable is assigned a value before it is used.
SHORT number = 10; or SHORT number; ... number = 10;
This rule can be checked by most modern compilers, including the Microsoft Visual C++ compiler.
|Ellemtel Rule 40|