Saturday, 5 February 2011

volatile modifier in c


All variable in c are by default not volatile. With
help of modifier volatile which is keyword of c language you can make any
variable as volatile variable.

Properties of volatile variable:



1. A volatile variable can be changed by the
background routine of preprocessor. This background routine may be interrupt
signals by microprocessor, threads, real times clocks etc.



2. In simple word we

No comments:

Post a Comment