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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c pass by value or reference?

1000


Explain what is a 'locale'?

1022


What are global variables?

1120


Is register a keyword in c?

997


What Is The Difference Between Null And Void Pointer?

1159


What is the advantage of using #define to declare a constant?

1040


Write a program to check whether a number is prime or not using c?

1011


What is a macro in c preprocessor?

1056


Is c# a good language?

964


What should malloc() do?

1105


State the difference between x3 and x[3].

1054


What's the difference between constant char *p and char * constant p?

1092


Are pointers integers in c?

1031


hi, which software companys will take,if d candidate's % is jst 55%?

2047


What is identifier in c?

969