-
Regarding the following statement which of the statements is true?
const int num = 20;
-
- Constructs an integer type variable with an as identifier and 20 as the value
- Declares a variable num with 20 as its initial value
- Declares a construction num with 20 as its initial value
- Declares a constant num whose value will be 20
- None of these
Correct Option: D
Because the const is used to declare non-changeable values only.