I've read that the volatile
keyword in C is used to specify to the compiler that the value of a declared variable or function may be changed without the program itself changing it.
Given that my programs are always run by an Operating System (which can change these values without the program changing them), is there any reason not to use the volatile
keyword in all variable and function declarations?