what is volatile in c language?
Answer Posted / deep
consider this outside main()
int i=10;
int j = i + 10;
here smart compilers always replace the i in the second
statement with 10, when we use volatile keyword this will be
avoided and always there is a check of the i variable ,
before initialising it..
So the optimisation here is avoided
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What are the uses of a pointer?
Where local variables are stored in c?
What does %p mean c?
If the size of int data type is two bytes, what is the range of signed int data type?
How many keywords (reserve words) are in c?
explain what are pointers?
What does. int *x[](); means ?
What is the difference between typedef and #define?
What is this infamous null pointer, anyway?
in iso what are the common technological language?
Why calloc is better than malloc?
Who is the founder of c language?
What is the meaning of ?
What is the sizeof () operator?
Why isn't it being handled properly?