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
Why c language is called c?
What is the difference between Printf(..) and sprint(...) ?
What the different types of arrays in c?
What is the difference between int main and void main?
Explain how can you be sure that a program follows the ansi c standard?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
Why C language is a procedural language?
how to capitalise first letter of each word in a given string?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
`write a program to display the recomended action depends on a color of trafic light using nested if statments
praagnovation
Do pointers take up memory?
Explain what is the difference between a free-standing and a hosted environment?
How many levels of pointers have?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.