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
Is c procedural or object oriented?
Why main function is special give two reasons?
What is string concatenation in c?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is break in c?
What is clrscr in c?
What are register variables? What are the advantage of using register variables?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
Describe how arrays can be passed to a user defined function
Which header file is used for clrscr?
What is pass by reference in functions?
What is extern c used for?
Why doesn't C support function overloading?
Explain c preprocessor?
Are pointers integer?