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

Describe friend function & its advantages.

1135


What is the arrow operator in c++?

1028


What are associate containers?

1028


What are default parameters? How are they evaluated in c++ function?

1172


Can we get the value of ios format flags?

1141


What are pointer-to-members in C++? Give their syntax.

1142


What is ofstream c++?

1088


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

3649


Explain this pointer?

1068


Can notepad ++ run c++?

1085


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

1307


What is the function to call to turn an ascii string into a long?

1067


What is function declaration in c++ with example?

1101


How can you link a c program with a c function?

1076


Write some differences between an external iterator and an internal iterator?

1025