Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is const volatile?

Answers were Sorted based on User's Feedback



what is const volatile?..

Answer / test

Voliatile means value can be changed at any point .when we
say cont volatile it says value cant be changed by the
programer but can be changed by the hardware ..
for example status register of any hardware ..
its volatile since value of this register can changed at any
time and its const too since its not changed by the programmer.

Is This Answer Correct ?    7 Yes 1 No

what is const volatile?..

Answer / 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

More C Interview Questions

proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?

7 Answers   Hughes,


Explain what math functions are available for integers? For floating point?

0 Answers  


What is scope rule in c?

0 Answers  


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

0 Answers  


Is c call by value?

0 Answers  


Three major criteria of scheduling.

1 Answers  


What is the restrict keyword in C?

2 Answers  


What are Macros? What are its advantages and disadvantages?

0 Answers   TCS,


What are types of preprocessor in c?

0 Answers  


What header files do I need in order to define the standard library functions I use?

0 Answers  


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

0 Answers   Wipro,


Bit swapping

2 Answers  


Categories