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

What is mean by data types in c?

1041


how to execute a program using if else condition and the output should enter number and the number is odd only...

2318


What is calloc malloc realloc in c?

1070


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

3257


What are structure types in C?

1113


When should the register modifier be used? Does it really help?

979


What is || operator and how does it function in a program?

1104


Is it cc or c in a letter?

1040


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

3123


What is the use of f in c?

991


What are the similarities between c and c++?

1092


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1089


Who developed c language and when?

1080


Is printf a keyword?

1214


Should I learn data structures in c or python?

1037