Important MCQ

A variable is

Q.A variable is

A) an operator
B) a fixed value
C) a keyword
D) a named memory location
Correct Answer:
Option D
Detailed Explanation:
D) a named memory location is correct. A variable is a named memory location. Declare it with a data type before use; names cannot start with a digit or be keywords, and = assigns a value.