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

Write a program to check prime number in c programming?

1146


#include { printf("Hello"); } how compile time affects when we add additional header file .

1942


Which type of language is c?

1123


How are portions of a program disabled in demo versions?

1345


Write a program to print numbers from 1 to 100 without using loop in c?

1136


Which is better oop or procedural?

1133


Tell me is null always defined as 0(zero)?

1134


How can I get the current date or time of day in a c program?

1269


When was c language developed?

1260


What is sizeof c?

1122


Explain the bubble sort algorithm.

1113


What will be the outcome of the following conditional statement if the value of variable s is 10?

1370


What is self-referential structure in c programming?

1282


What are valid operations on pointers?

1262


Write a program for finding factorial of a number.

1143