Question Detail
A variable is defined within a block in a body of a function. Which of the following are true ?
- It is visible from the point of definition to the end of the program.
- It is visible throughout the function.
- It is visible from the point of definition to the end of the block.
- It is visible throughout the block.
Answer: Option B