I know volatile keyword prevents compiler from optimizing a variable and read it from memory whenever it is read. Apart from memory mapped registers, what are all the situat
Apart from memory mapped registers, what are all the situations where we need to use volatile?
If
longjmp
;then you probably have no need for volatile.