Answer Posted / manoj
Volatile variable will be used when we are dealing with
external memory, external device and interrupt service
routine. In these situation if some variable needs update
or gets update without user knowledge in that case variable
should be declared as VOLATILE. otherwise we may loose
these update.
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
What’s a signal? Explain what do I use signals for?
What is data type long in c?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
What is the sizeof () operator?
What is scope rule in c?
What is the difference between text files and binary files?
What is the use of #define preprocessor in c?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
What is a protocol in c?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Explain the use of bit fieild.
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is #define used for in c?