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?

Answers were Sorted based on User's Feedback



What is the real time usage volatile?..

Answer / 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

What is the real time usage volatile?..

Answer / braja28

that is one type of temporary storage

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C Interview Questions

What is output redirection?

0 Answers  


Suppose I want to write a function that takes a generic pointer as an argument and I want to simulate passing it by reference. Can I give the formal parameter type void **, and do something like this? void f(void **); double *dp; f((void **)&dp);

1 Answers  


What does %f mean c?

1 Answers  


program to find the ASCII value of a number

8 Answers  


What are .h files and what should I put in them?

3 Answers  


main() { int i; printf("%d", &i)+1; scanf("%d", i)-1; }

1 Answers  


How to set a variable in the environment list?

1 Answers  


write a progrmm in c language take user interface generate table using for loop?

0 Answers  


which is the best site or book for learning C...and i need the content for C..how to get the good programming skills....? can plz suggest me....

2 Answers  


When should volatile modifier be used?

0 Answers  


What is the most efficient way to count the number of bits which are set in an integer?

0 Answers  


Describe explain how arrays can be passed to a user defined function

0 Answers  


Categories