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 getch () for?
What are static variables in c?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is data type long in c?
Write a program to print ASCII code for a given digit.
Explain the use of 'auto' keyword
What is the c value paradox and how is it explained?
How to delete a node from linked list w/o using collectons?
Which is better malloc or calloc?
What are the two types of structure?
can any one tel me wt is the question pattern for NIC exam
What is the difference between far and near in c?
What is || operator and how does it function in a program?
main() { printf("hello"); fork(); }
hi send me sample aptitude papers of cts?