What is an volatile variable?

What is an volatile variable?

We can not modify the variable which is declare to volatile during execution of whole program.
Example:
volatile int i = 10;
 value of i can not be changed at run time.

By:Vivek Kr. Agarwal
Date:2006-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher