Which of the following is false?
A. Constant variables do not need to be defined when they are declared; they can be defined later.
B. You cannot reassign a value to a constant variable.
C. All global constant variables are set to zero.
D. The const keyword is used to declare constant values.
Answer:A
Which of the following is false?
A. Constant variables do not need to be defined when they are declared; they can be defined later. B. You cannot reassign a value to a constant variable. C. All global constant variables are set to zero. D. The const keyword is used to declare constant values.
Explanation: Because the constant variable must be declared and defined at the same time, failing to do so results in an error. As a result, statement A is incorrect.