|Synopsis:||Every variable of a built-in type 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.
int number = 10; if (func(number)) ...
int number; ... number = 10; if (func(number)) ...
This rule can be checked by most modern compilers.
|Ellemtel Rule 40|