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

Differentiate between functions getch() and getche().

609


What are the 5 elements of structure?

551


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

755


What are the basic data types associated with c?

799


explain what is a newline escape sequence?

674






What is graph in c?

572


can any one tel me wt is the question pattern for NIC exam

1547


Write the Program to reverse a string using pointers.

607


If null and 0 are equivalent as null pointer constants, which should I use?

567


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜nā€™ element.

1568


Explain what are preprocessor directives?

612


Explain what is wrong with this program statement? Void = 10;

754


What is pointer and structure in c?

554


What are the types of bitwise operator?

650


Which is best linux os?

546