Volatile Variable

 

Interview Questions

  • What is a volatile keyword?
  • Given a code snippet, why you cannot set a breakpoint?
  • Is const opposite of volatile?
  • What is the point of "const volatile *variable" ?
    • You as a programmer, cannot write a line of code to modify, but maybe DMA or a peripheral behind you can modify it
Back to top