Question PRG-CPP-0007
EasyWhat does the 'const' keyword on a variable mean?
- A.
It is stored on disk
- B.
Its value can't be changed after initialisation
- C.
Show answer and explanation
Answer: B
The compiler rejects attempts to modify a const variable.