what is difference b/w extern & volatile variable??
Answer Posted / mchilakala
Extern keyword specifies that the variable had been
declared globally where as volatile keyword specifies that
there is a chance of changing it's value by external
conditions.
Ex:
if we declare a variable as
"Volatile date=03/08/2011"
then output is 03/08/2011
then after one day the output will change to 04/08/2011.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is dynamic memory allocation?
What is the use of f in c?
Where define directive used?
What are the different types of objects used in c?
Without Computer networks, Computers will be half the use. Comment.
Is it better to use malloc() or calloc()?
What does & mean in scanf?
What is d scanf?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Process by which one bit pattern in to another by bit wise operation is?
What is scope and lifetime of a variable in c?
Explain how do you convert strings to numbers in c?
What is bubble sort technique in c?
What is a wrapper function in c?
Write the control statements in C language