Volatile (keyword): Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
mNo edit summary |
|||
Line 13: | Line 13: | ||
(but not the value itself) are always performed */ |
(but not the value itself) are always performed */ |
||
volatile int *ptr; |
volatile int *ptr; |
||
int volatile *ptr; |
|||
/* Ensures that changes to/reads from the pointer ptr (but not the |
/* Ensures that changes to/reads from the pointer ptr (but not the |