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

Is overriding possible in c++?

1065


What are the various access specifiers in c++?

1086


Should you pass exceptions by value or by reference?

1182


What are advantages of c++?

1056


What is vector string in c++?

1133


Which software is best for coding?

1099


Write is a binary search tree? Write an algo and tell complexity?

1072


In a function declaration what does extern means?

1108


Explain differences between alloc() and free()?

1210


What is a local reference?

1235


Can we use clrscr in c++?

1129


What is a linked list in c++?

1106


Can manipulators fall in love?

1070


You want to link a c++ program to c functions. How would you do it?

1039


Is it possible to use a new for the reallocation of pointers ?

1123