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 is the purpose of the statement: strcat (S2, S1)?

1127


Can we change the value of #define in c?

973


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1239


what is ur strangth & weekness

2352


What is a pointer variable in c language?

1049


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1167


How do you do dynamic memory allocation in C applications?

1063


What is function prototype?

1079


What is c programming structure?

1130


What are the salient features of c languages?

1066


In which language linux is written?

1188


Why do we use header files in c?

1036


What is bin sh c?

1003


When we use void main and int main?

1036


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2058