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

Answer Posted / ravi.jnv

Volatile is to inform the compiler that not to optimise
code.
for ex:
int a = port1;
int b = port1;
int c = port1;

compiler may convert it as
int a=b=c=port1;

so avoid it , u have to use volatile keyword.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are the outer parentheses in return statements really optional?

1054


What is the difference between c &c++?

1091


What are the advantages of c language?

1046


What are the different types of constants?

1021


Explain modulus operator. What are the restrictions of a modulus operator?

972


Write a program for Overriding.

1123


Can we change the value of constant variable in c?

1008


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

2744


What is fflush() function?

1082


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1016


What is floating point constants?

1086


why wipro wase

2252


Why main is used in c?

1014


Explain what is wrong in this statement?

1070


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

1098