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...

What is volatile

Answer Posted / nikhil

Basically, it is a type qualifier.
a volatile data type is used at optimizer level.
Generally, in the embedded coding, When the optimizer is Set
on "favor size". The data type declaration as volatile
declares to compiler that the value of this data type can
change beyond the program flow(like interrupts.
Otherwise if the optimizer is enable, the program malfunctions.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is realloc in c?

1021


What are the two types of structure?

1042


When should volatile modifier be used?

955


Explain how can you tell whether two strings are the same?

973


Explain the use of 'auto' keyword in c programming?

1072


Explain the difference between ++u and u++?

1071


How can you find the exact size of a data type in c?

957


How a string is stored in c?

1019


What are high level languages like C and FORTRAN also known as?

1107


Write a Program to accept different goods with the number, price and date of purchase and display them

6150


Explain what is wrong in this statement?

1070


What is the return type of sizeof?

1029


How are variables declared in c?

1032


What is difference between && and & in c?

1048


Can the sizeof operator be used to tell the size of an array passed to a function?

1060