Important MCQ

Are Age and age the same variable in C++?

Q.Are Age and age the same variable in C++?

A) Only in main
B) Sometimes
C) Yes
D) No
Correct Answer:
Option D
Detailed Explanation:
D) No 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.