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

it means this value will be changed unexpectedly. everytime
the program wants to use it, it can only be got from memory
but not from the register directly.

if you want a variable can be accessed by several threads,
you need this key word, like in ISR program, etc.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you declare a set in c++?

957


Explain shallow copy?

1056


Can non graphic characters be used and processed in C++?

1197


How do I tokenize a string in c++?

1103


What is the difference between the compiler and the preprocessor?

1122


What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?

1122


How to access a variable of the structure?

1096


what do you mean by volatile variable?

1056


What is the difference between map and hashmap in c++?

1115


Write a program to find the Fibonacci series recursively.

1075


What is a sequence in c++?

1023


What is lambda expression c++?

1063


What is a character in c++?

1050


What return value must conversion operators have in their declaration?

1096


Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)

1956