What is an volatile variable?

Answer Posted / babu

Declaraton an obj const announces that its value will not
be changed;declaring it Volatile announces that it has
special properties relevent to optimization[change].

Is This Answer Correct ?    28 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a simple code fragment that will check if a number is positive or negative.

715


Explain what is the most efficient way to store flag values?

702


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

616


Explain what is wrong in this statement?

639


write a c program for swapping two strings using pointer

2100






Explain how does flowchart help in writing a program?

636


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

1071


What is the difference between #include and #include 'file' ?

610


Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

689


Explain what does it mean when a pointer is used in an if statement?

621


Why doesn't C support function overloading?

1627


How is a structure member accessed?

592


What is maximum size of array in c?

588


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1456


Why do we need a structure?

597