Important MCQ

A variable name cannot be

Q.A variable name cannot be

A) written in capital letters
B) written with digits after first letter
C) written with underscore
D) a keyword like int
Correct Answer:
Option D
Detailed Explanation:
D) a keyword like int 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.