Pick the right option.
Statement 1: A definition is also a declaration.
Statement 2: An identifier can be declared just once.
A. Statement 1 is true, Statement 2 is false
B. Statement 2 is true, Statement 1 is false
C. Both are false
D. Both are true
Answer: Option B
Related Questions on Variables and Data Types in C plus plus
Which of the following is a valid variable name in C++?
A. myVariable
B. 123variable
C. variable&
D. float
What is the data type of the variable 'x' in the following declaration: double x = 3.14;?
A. int
B. double
C. float
D. char

Join The Discussion