What is difference between const static and volatile?
Answers
Answered by
0
volatile is used to inform the compiler not to optimise the variable. The constatic modifier means that this code cannot change the value of the variable, but that does not mean that the value cannot be changed by means outside this code.
Similar questions