Question

What is the scope of a variable in programming?

A The area of memory where the variable is stored Correct Answer Incorrect Answer
B The set of statements where the variable can be accessed and manipulated Correct Answer Incorrect Answer
C The size of the variable's data type Correct Answer Incorrect Answer
D The value assigned to the variable Correct Answer Incorrect Answer

Solution

The set of statements where the variable can be accessed and manipulated

Practice Next

Relevant for Exams:

×
×