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 the use of volatile keyword in c++? Give an example.

Answer Posted / hrpynux@gmail.com

The volatile keyword is intended to prevent the compiler from applying any optimizations on objects that can change in ways that cannot be determined by the compiler. Objects declared as volatile are omitted from optimization because their values can be changed by code outside the scope of current code at any time.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I learn dev c++ programming?

1046


What are c++ storage classes?

1098


What are the uses of pointers?

1066


What is a syntax in c++?

1160


What is DlgProc?

1024


What is the most useful programming language?

1047


Explain the static member function.

1182


What are move semantics?

1155


What are the unique features of C++.

1073


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

1015


What is type of 'this' pointer?

1062


What does count ++ do in c++?

1200


How do I run c++?

1068


What is a lambda function c++?

1108


What is the difference between map and hashmap in c++?

1111