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 in c language?

Answer Posted / deep

consider this outside main()

int i=10;
int j = i + 10;

here smart compilers always replace the i in the second
statement with 10, when we use volatile keyword this will be
avoided and always there is a check of the i variable ,
before initialising it..
So the optimisation here is avoided

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of arrays are there in c?

1044


Explain the process of converting a Tree into a Binary Tree.

2666


What is pass by reference in functions?

842


What is #include stdio h?

1117


in linking some of os executables are linking name some of them

2128


What are dangling pointers in c?

1225


will u please send me the placement papers to my mail???????????????????

1836


Explain what is a const pointer?

1084


Which driver is a pure java driver

1602


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1089


For what purpose null pointer used?

1070


Explain the difference between the local variable and global variable in c?

1073


can any one tel me wt is the question pattern for NIC exam

1972


What is the best way to comment out a section of code that contains comments?

1337


Where is c used?

1092