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
Is null always defined as 0(zero)?
What is I ++ in c programming?
what are non standard function in c
What is the use of structure padding in c?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
Why #include is used in c language?
difference between Low, Middle, High Level languages in c ?
write a program fibonacci series and palindrome program in c
Is c weakly typed?
How can you convert integers to binary or hexadecimal?
Is c still relevant?
What is scope rule of function in c?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Create a simple code fragment that will swap the values of two variables num1 and num2.
Explain the properties of union. What is the size of a union variable