what is const volatile?

Answer Posted / n

read-only data which should not be optimized by compiler
because it might be modified by some ways unknown by
compiler.(ex: HW, or even by other thread if we have const
volatile int *p for example, where p is the address of some
variable which is not const).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How old is c programming language?

581


Why static variable is used in c?

558


What are structures and unions? State differencves between them.

619


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

634


What is memory leak in c?

638






Which node is more powerful and can handle local information processing or graphics processing?

829


What is assignment operator?

626


Why we use break in c?

553


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1455


how to build a exercise findig min number of e heap with list imlemented?

1613


How to draw the flowchart for structure programs?

8763


What is I ++ in c programming?

629


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3342


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

670


What is the use of bitwise operator?

693