Important MCQ

In int x = 5; the number 5 is the

Q.In int x = 5; the number 5 is the

A) type
B) name
C) initial value
D) keyword
Correct Answer:
Option C
Detailed Explanation:
C) initial value 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.