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

When volatile can be used?

Answer Posted / reejusri

One more thing i want to add in above answer that is if
compiler sees keyword volatile it skips that variable from
optimization of code, becasue since it is very dymanic in
nature and to manage such type of variable for
optimaization is costly.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain differences between alloc() and free()?

1116


Does c++ vector allocate memory?

993


What is #include iostream h in c++?

1150


What is a string example?

1056


Explain the purpose of the keyword volatile.

1157


Does c++ have a hash table?

985


Can we define a constructor as virtual in c++?

1117


Declare a class vehicle and make it an abstract data type.

958


What is a .lib file in c++?

990


Do class declarations end with a semicolon?

1064


Is linux written in c or c++?

1036


What is a base class?

1104


Describe private, protected and public?

1070


What is enum class in c++?

1235


Is c the same as c++?

997