Scoping rules
An identifier declared in one part of the program can only be accessed (used) from a certain area in the program. This area is determined by the identifier’s scope.
Block Scope: 1: { int k; … 2:{ ….. } … } ==> k is defined within block 1 Any statement within block 1 or 2 can use k, any statement outside block 1 cannot.Also, within block 1, k overrides any other identifier k previously declared.