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
Whats s or c mean?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Why is struct padding needed?
Explain bitwise shift operators?
What is an identifier?
Write a program to check whether a number is prime or not using c?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What are different types of operators?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
Explain how can I prevent another program from modifying part of a file that I am modifying?
Does c have function or method?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What is static and auto variables in c?