Why is a point-to-volatile pointer, like “volatile int * p”, useful?
A pointer of the form volatile int* p; is a pointer to an int that the compiler will treat as volatile. This means that the compiler will assume that it is possible for the variable that p is pointing at to have changed even if there is nothing in the source code to suggest that … Read more