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 the real time usage volatile?

Answer Posted / stylish_312

volatile int i=10;
main()
{
fun()
{
while(i==10)
{
...
}
printf("This will print..\n");
}
}
ANS:
if we are not using volatile int ,the loop will be keep on
exeecuting,so printf statement will not print...to break
this loop declare the variable as a volatile....

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

1138


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

2161


What is the right type to use for boolean values in c?

1020


Why is sizeof () an operator and not a function?

1013


Which header file is used for clrscr?

1046


How can you pass an array to a function by value?

1099


Why doesnt that code work?

1147


what are the 10 different models of writing an addition program in C language?

1883


What are c preprocessors?

1171


Explain what are the __date__ and __time__ preprocessor commands?

1106


What is "Duff's Device"?

1152


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

996


Why do we use static in c?

1112


Differentiate between calloc and malloc.

1248


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3693