The volatile specifier:

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
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments