Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

where do we use volatile keyword?

Answer Posted / rekha_sri

* A variable should be declared volatile whenever its value
could change unexpectedly.

* A volatile qualifier must be used when reading the contents
of a memory location whose value can change unknown to the
current program.

* A volatile qualifier must be used for shared data modified
in signal handlers or interrupt service routines.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different file extensions involved when programming in C?

1285


What is else if ladder?

1023


What is the difference between single charater constant and string constant?

1095


What is an auto variable in c?

1238


What is masking?

1154


Is it acceptable to declare/define a variable in a c header?

1127


Explain what is the general form of a c program?

1099


Can you please explain the difference between exit() and _exit() function?

1033


What is the size of enum in c?

1119


What is structure of c program?

1168


What is the purpose of sprintf?

1140


What is the use of #define preprocessor in c?

1081


What is the difference between printf and scanf in c?

1359


How can you restore a redirected standard stream?

1124


p*=(++q)++*--p when p=q=1 while(q<=6)

1763