C++ | const keyword | Question 5
x = 10;
(A) Compiler Error
(D) Runtime Error
Explanation: One cannot change the value of ‘const’ variable except at the time of initialization. Compiler does check this.
Quiz of this Question