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

Which type of language is c?

0 Answers  


main() { int i,j,A; for(A=-1;A<=1;A++) prinf("%d\t",!!A); }

6 Answers  


int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ?

6 Answers   TCS,


What does node * mean?

0 Answers  


Explain what is meant by high-order and low-order bytes?

0 Answers  


Write a function that will take in a phone number and output all possible alphabetical combinations

0 Answers   Motorola,


How would you print out the data in a binary tree, level by level, starting at the top?

6 Answers   Amazon, Microsoft,


What are two dimensional arrays alternatively called as?

0 Answers  


What are the application of c?

0 Answers  


There seem to be a few missing operators ..

0 Answers  


simple program of graphics and their output display

0 Answers   Elysium,


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

0 Answers   Subex,


Categories