What is Block scope
Block scope: The variables with block scope appear in a block or within the list of formal parameter declarations in a function definition. It is visible only from the point of its declaration or definition to the end of the block having its declaration or definition.