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

Volatile restricts the compiler in two ways
1-> No optimization algorithm should be applied to this
variable.
2-> When ever you need the value of the volatile variable
please take it from the memory.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is class in c++ with example?

1238


How would perform Pattern Matching in C++?

1219


What language is a dll written in?

1015


How many standards of c++ are there?

1086


what is pre-processor in C++?

1139


What is size_type?

1025


What problems might the following macro bring to the application?

1032


Is c++ double?

1021


What are separators in c++?

1076


Write bites in Turbo c++ Header ("Include") Files.

1250


Difference between overloaded functions and overridden functions

1040


Give example of a pure virtual function in c++?

1154


What is a binary file? List the merits and demerits of the binary file usagein C++.

1284


What is a forward referencing and when should it be used?

1153


Is java based off c++?

963