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.



What is the use of volatile keyword in c++? Give an example...

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

More C++ General Interview Questions

How is computer programming useful in real life?

0 Answers  


When we use Abstract Class and when we use Interface?where we will implement in real time?

0 Answers  


Define vptr.

0 Answers  


Explain unexpected() function?

0 Answers  


the maximum length of a character constant can be a) 2 b) 1 c) 8

0 Answers  


Write any small program that will compile in "C" but not in "C++"?

4 Answers  


What is virtual base class uses?

0 Answers  


an integer constant must have atleast one a) character b) digit c) decimal point

0 Answers  


Is c++ platform dependent?

0 Answers  


What is a c++ map?

0 Answers  


What is ios :: in in c++?

0 Answers  


What is the need of a destructor? Explain with the help of an example.

0 Answers  


Categories