What does volatile do?
Answer / Mahesh Chauhan
The volatile modifier in C programming language informs the compiler that a variable's value may be modified by hardware independent reasons (such as interrupts) and should not optimize accesses to that variable. This ensures that the program always reads the most current value of the variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can we allocate array or structure bigger than 64kb?
What is the use of static variable in c?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
what is software?
find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }
What is an arrays?
why we use pointer in c
When should volatile modifier be used?
What are lookup tables in c?
where does it flourished?
Write a progarm to find the length of string using switch case?
what will be the out put. #include<stdio.h> void main() { printf("Output:"); printf(1+"vikashpatel"); }//output: ikashpatel