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
Social Sciences,
7 months ago
Math,
7 months ago
Accountancy,
7 months ago
Science,
1 year ago
Math,
1 year ago
Science,
1 year ago
Math,
1 year ago