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
Write a program to check prime number in c programming?
#include
Which type of language is c?
How are portions of a program disabled in demo versions?
Write a program to print numbers from 1 to 100 without using loop in c?
Which is better oop or procedural?
Tell me is null always defined as 0(zero)?
How can I get the current date or time of day in a c program?
When was c language developed?
What is sizeof c?
Explain the bubble sort algorithm.
What will be the outcome of the following conditional statement if the value of variable s is 10?
What is self-referential structure in c programming?
What are valid operations on pointers?
Write a program for finding factorial of a number.