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
What are the different file extensions involved when programming in C?
What is else if ladder?
What is the difference between single charater constant and string constant?
What is an auto variable in c?
What is masking?
Is it acceptable to declare/define a variable in a c header?
Explain what is the general form of a c program?
Can you please explain the difference between exit() and _exit() function?
What is the size of enum in c?
What is structure of c program?
What is the purpose of sprintf?
What is the use of #define preprocessor in c?
What is the difference between printf and scanf in c?
How can you restore a redirected standard stream?
p*=(++q)++*--p when p=q=1 while(q<=6)