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...


where do we use volatile keyword?



where do we use volatile keyword?..

Answer / achal ubbott

the keyword volatile is more used in embedded systems
programming, especially when we are dealing with the
special function registers of a microcontroller. e.g.
status register of UART or some other peripheral devices.
As you may know that volatile asks the compiler not to
subject the variable in question to optimization.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More C Interview Questions

What Is The Difference Between Null And Void Pointer?

0 Answers   TCS,


what is the answer for it main() { int i; clrscr(); printf("%d",&i)+1; scanf("%d",i)-1; }

3 Answers  


How is actual parameter different from the formal parameter?

0 Answers  


In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }

1 Answers  


What’s a signal? Explain what do I use signals for?

0 Answers  


differentiate built-in functions and user – defined functions.

0 Answers  


which is an algorithm for sorting in a growing Lexicographic order

0 Answers  


how can i calculate mean,median,mode by using c program

1 Answers   HCL,


What are the advantages of union?

0 Answers  


who is the father of C Language?

20 Answers   CTS, UST,


can any one provide me the notes of data structure for ignou cs-62 paper

0 Answers   Ignou,


In a switch statement, explain what will happen if a break statement is omitted?

0 Answers  


Categories