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
What is an auto variable in c?
How can I prevent another program from modifying part of a file that I am modifying?
How can you draw circles in C?
What is difference between static and global variable in c?
Describe the modifier in c?
What is putchar() function?
#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); }
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
How to get string length of given string in c?
What is the purpose of & in scanf?
What are the difference between a free-standing and a hosted environment?
Why c is called a mid level programming language?
What is the use of ?: Operator?
Explain what are multidimensional arrays?