Question 4 • Introduction to Information Technology - EL3701
A local variable is accessible only within the function or specific region of the program where it is declared. This limited visibility is called local scope. A global variable, by contrast, can generally be accessed from multiple parts of a program.
AI-written and checked against the verified answer.