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 are the loops in c?
Why isn't it being handled properly?
How do I copy files?
What do you mean by c?
Does free set pointer to null?
What is the Purpose of 'extern' keyword in a function declaration?
How can I find out if there are characters available for reading?
What are the main characteristics of c language describe the structure of ac program?
C language questions for civil engineering
Can you apply link and association interchangeably?
For what purpose null pointer used?
What is the difference between struct and typedef struct in c?
Is c easy to learn?
Can a pointer point to null?
What are volatile variables in c?