What is an volatile variable?

Answer Posted / priya

In computer programming,a variable or object declared
with the volatile keyword may be modified externally
from the declaring object. Variables declared to be
volatile will not be optimized by the compiler
because the compiler must assume that their values
can change at any time.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between the local variable and global variable in c?

829


What is the scope of static variable in c?

725


How can I delete a file?

826


When should the volatile modifier be used?

883


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

885


Explain what are binary trees?

824


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1713


What are shell structures used for?

788


What are header files in c?

809


What are global variables?

864


Is c compiled or interpreted?

886


What are Macros? What are its advantages and disadvantages?

860


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

924


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2505


What is use of null pointer in c?

746