Last Updated on May 6, 2022 by Admin 3
The volatile
specifier:
- tells the compiler to not use the variable
- is obsolete
- suggest the compiler to store the variable in one of CPU registers
- forces the compiler to fetch the variable from memory each time it is read