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 an volatile variable?

Answers were Sorted based on User's Feedback



What is an volatile variable?..

Answer / shruti

okies..
I really had no idea about this concept..

Can neone plz tell me how do we declare, such volatile
varibales??

Thanks..

Is This Answer Correct ?    2 Yes 3 No

What is an volatile variable?..

Answer / harish

volatile variable tells the compiler not to optimize the
code at run time.
example:
volatile int a = 20; // variable a is declared as volatile.
For more information check this out...

http://www.programmersheaven.com/articles/pathak/article1.htm

Is This Answer Correct ?    5 Yes 8 No

What is an volatile variable?..

Answer / manish

as on compiler optimize the code. and it take the variable
first in cache and then in resisters.
so in volatile variables what the value is stored at first
time it will be stored in resister but when u want to
change the values of that volatiles variables.it will not
change.

Is This Answer Correct ?    3 Yes 6 No

What is an volatile variable?..

Answer / santhi

the variable which can be modified.

Is This Answer Correct ?    24 Yes 33 No

What is an volatile variable?..

Answer / mahendra giri

volatile variable is that which we can't change during
program execution tome

Is This Answer Correct ?    2 Yes 35 No

Post New Answer

More C Interview Questions

what is the difference between structural,object based,object orientd programming languages?

1 Answers   PanTerra,


With the help of using classes, write a program to add two numbers.

0 Answers   TCS,


How does memset() work in C?

2 Answers  


who is first prime minister in india??

8 Answers   Wipro,


What is a #include preprocessor?

0 Answers  


what is a function method?give example?

0 Answers  


What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }

1 Answers   Google,


Can you pass an entire structure to functions?

0 Answers  


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

0 Answers  


Can include files be nested? How many levels deep can include files be nested?

0 Answers   Aspire, Infogain,


What are disadvantages of C language.

0 Answers   iNautix,


What is a stream?

0 Answers  


Categories