Block Scope

By: Dusty Arlia
Published on Thursday, May 2, 2013, 07:22 PM
Last Updated on Sunday, July 05, 2015 at 8:52 PM
Total Updates: 3

Block scope is the scope/area in which you can access your variables. Blocks refer to statement blocks. These are compound statements (or in other words, multiple statements between curly braces acting as a single statement). Block scope means that you can only reference a variable's name/identifier in the statement block it was declared in.