Answer Posted / ravi.jnv
Volatile is to inform the compiler that not to optimise
code.
for ex:
int a = port1;
int b = port1;
int c = port1;
compiler may convert it as
int a=b=c=port1;
so avoid it , u have to use volatile keyword.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Where local variables are stored in c?
How do I read the arrow keys? What about function keys?
how can use subset in c program and give more example
What is bss in c?
Does * p ++ increment p or what it points to?
Is stack a keyword in c?
What is pointer to pointer in c with example?
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is ctrl c called?
What are the types of type qualifiers in c?
How many types of sorting are there in c?
Should I learn data structures in c or python?
When should I declare a function?
What are comments and how do you insert it in a C program?
What is the main difference between calloc () and malloc ()?