What is an volatile variable?

Answer Posted / srividya

A volatile variable is variable whose value can change with
out the knowledge of the compile. so the data access
optimization is lost.
These sort of variable are used normally accessing a global
variable between two threads.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a stream?

657


Explain how can a program be made to print the name of a source file where an error occurs?

693


can we have joblib in a proc ?

1660


What are examples of structures?

604


Write a program of advanced Fibonacci series.

713






Explain what is the difference between a free-standing and a hosted environment?

640


What do you mean by invalid pointer arithmetic?

641


What are the disadvantages of c language?

624


what is the different bitween abap and abap-hr?

1748


Is it possible to use curly brackets ({}) to enclose single line code in c program?

806


What is the difference between functions abs() and fabs()?

655


develop algorithms to add polynomials (i) in one variable

1749


What are different types of variables in c?

575


Why do we write return 0 in c?

557


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

911