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

What are the uses of a pointer?

1152


Where local variables are stored in c?

1011


What does %p mean c?

1073


If the size of int data type is two bytes, what is the range of signed int data type?

1026


How many keywords (reserve words) are in c?

1142


explain what are pointers?

1016


What does. int *x[](); means ?

1070


What is the difference between typedef and #define?

1064


What is this infamous null pointer, anyway?

1059


in iso what are the common technological language?

2116


Why calloc is better than malloc?

1037


Who is the founder of c language?

1170


What is the meaning of ?

1040


What is the sizeof () operator?

1086


Why isn't it being handled properly?

1067