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

Write my own zero-argument manipulator that should work same as hex?

1053


What is abstraction in c++ with example?

1149


What is algorithm in c++ programming?

1133


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

2392


What do you mean by public protected and private in c++?

1065


Do vectors start at 0 c++?

1035


Tell me difference between constant pointer and pointer to a constant.

1203


What is decltype c++?

1007


What are the sizes and ranges of the basic c++ data types?

1048


What is operator overloading in c++ example?

1145


What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

1202


What is the advantage of c++ over c?

1036


Is c++ proprietary?

1070


How does work in c++?

1086


What are the advantages of early binding?

1075