The ________ of a variable is limited to the block in which it is declared.
One word answer for the above question is scope. The scope of a variable is limited to the block in which it is declared. This article discusses most of the information related to scope.
Scope is the section of the program where an identifier can be used. For example, any local variable declared in a block can be referenced only in that block and its nested blocks within that block.
All the identifiers declared inside a block have block scope. That block scope begins at the identifier’s declaration and ends at the terminating right braces (}) of the block in which the identifier is declared. All local variables have block scope, similar to function parameters. Any block can contain variable declarations. An identifier in an outer block has the same name as an identifier in an inner block when blocks are nested, the identifier in the outer block is “hidden” until the inner block terminates. The inner block “sees” its own local identifier’s value and not that of the enclosing block’s identically named identifier. Static local variables declared still have block scope, even though they exist from the time the program begins execution. Storage duration does not affect an identifier’s scope.
Hope this will help.