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 the acronym for ansi?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is array of structure in c?
How do you redirect a standard stream?
What is the difference between c &c++?
Explain how can I prevent another program from modifying part of a file that I am modifying?
How can I change their mode to binary?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What are global variables and explain how do you declare them?
What does c mean?
how could explain about job profile
When c language was developed?
What is extern variable in c with example?
What are header files in c?
can anyone suggest some site name..where i can get some good data structure puzzles???