Friends,
What is the difference between volatile variable and normal variable?
I know the basic answer that the volatile var will get modified during execution time due to external conditions and it will avoid optimization.
I went to many interviews and I am observing the same question where ever I go.But the interviewer is not satisfied with my ans.
PLZ Post me something new Answers for volatile variable .
Regards,
Rajesh