| ??? 05/19/08 05:39 Read: times |
#154885 - Opposite! Responding to: ???'s previous message |
Harshada D Nehete said:
from whatever i have read in books and online i understand it is to retains value of a variable which can be changed by some thing beyond the scope of programmer. No, it's the opposite of that! It tells the compiler not to retain the value of a variable - because it is likely to be changed by some thing not visible to the compiler. Key examples are variables that are modified by interrupts, and memory-mapped IO. |
| Topic | Author | Date |
| keyword volatile | 01/01/70 00:00 | |
| Opposite! | 01/01/70 00:00 | |
| volatile modifier | 01/01/70 00:00 | |
| Incorrect | 01/01/70 00:00 | |
| incorrect! | 01/01/70 00:00 | |
| even more | 01/01/70 00:00 | |
| A heap o' trouble | 01/01/70 00:00 | |
| the curse of the PC programmers | 01/01/70 00:00 | |
| meaning of "volatile" with example | 01/01/70 00:00 | |
| example | 01/01/70 00:00 | |
| gobbelygook | 01/01/70 00:00 | |
| heap? | 01/01/70 00:00 | |
| Confused? | 01/01/70 00:00 | |
| Google told me... | 01/01/70 00:00 | |
| link | 01/01/70 00:00 | |
| go through my explanation | 01/01/70 00:00 | |
| put simply... | 01/01/70 00:00 | |
| thanks | 01/01/70 00:00 | |
| answer accepted by interviewer | 01/01/70 00:00 | |
| Not entirely | 01/01/70 00:00 | |
| not input only | 01/01/70 00:00 | |
That's the kind of thing I'd be looking for... | 01/01/70 00:00 |



