4
AssignmentDropdown

Variables and Data Types

Question 4 • Introduction to Information Technology - EL3701

A(n) is accessible only in a specific region of a program or within a declared function.

Answer
A
local variable
B
global variable
C
array
D
container

Explanation

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.

Previous
Next