What is an volatile variable?

Answer Posted / satish

if a variable is declared as volatile ,optimization is not
done regarding to that variable.If the value is modified
many number of times,each time CPU goes and reads from main
memory rather than cache memory.
The usage of this can be
understood clearly only at kernel level but not at
application level.

Is This Answer Correct ?    36 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 4 data types?

776


Define C in your own Language.

822


What is spaghetti programming?

878


Was 2000 a leap year?

829


Are negative numbers true in c?

779


What is null pointer constant?

783


What are the loops in c?

774


Give the rules for variable declaration?

926


What is the use of getchar() function?

852


What does == mean in texting?

933


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

1919


What is difference between scanf and gets?

855


What are categories used for in c?

809


can anyone please tell about the nested interrupts?

1872


What is %d called in c?

945