129
QuizMultiple Choice

Topic Test

Question 129 • Financial Math - MA2007

A variable that can be modified from anywhere within a program is called a

Answer
A
global variable.
B
local variable.
C
specific variable.
D
general variable.

Explanation

A global variable is available throughout a program, so code in different parts of the program can access or modify it. A local variable is limited to a particular function or block. Therefore, the correct choice is global variable.

AI-written and checked against the verified answer.

Previous
Next