03 October 2009

How to use volatile keyword in C/C++

If you are system programmers or you are writing multi-threaded programs, you will be needing this word to make your programs funciton properly.
Basically a volatile variable is just a variable where its value may change unexpectedly (not by the actions taken by the code compiler finds nearby).

No comments: