What are volatile variables?
Answer / 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 |
What is Full Form of C and Why We use C
what is const volatile?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
When should volatile modifier be used?
What is cohesion and coupling in c?
Write a program to generate prime factors of a given integer?
what is a stack
What is the use of ?: Operator?
Which of the Following will define a type NODE that is a node in a Linked list? A)struct node {NODE*next;int x;};type def struct node NODE; B)typedef struct NODE {struct NODE *next;int x;}; C)typedef struct NODE {NODE *next;int x;}; D)typedef struct {NODE *next;int x;}NODE;
a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above
in malloc and calloc which one is fast and why?
Difference between linking and loading?