What is volatile in c language?

Answers were Sorted based on User's Feedback



What is volatile in c language?..

Answer / venkata mahesh

compiler should not make any assumption about the variable
which declared as volatile.

Is This Answer Correct ?    8 Yes 0 No

What is volatile in c language?..

Answer / vadivel t

Volatile is one of the tpye qualifier in c. This qualifier
is used with the variable when the variable value is
expected to be changed by an external event(eg: system
clock, interrupt).

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

Explain how does flowchart help in writing a program?

0 Answers  


What is difference between scanf and gets?

0 Answers  


Explain what is a const pointer?

0 Answers  


what are bit fields in c?

0 Answers  


What is indirection? How many levels of pointers can you have?

0 Answers   Aspire, Infogain,






typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?

1 Answers  


What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack

6 Answers  


write a c program to accept a given integer value and print its value in words

4 Answers   Vernalis, Vernalis Systems,


What is stack in c?

0 Answers  


a 'c' program to tell that the set of three coordinates lie on a same line

3 Answers   Persistent,


sir, i cannot find the way how to write aprogram by using array on queue

1 Answers   IISIT,


Explain how can I right-justify a string?

0 Answers  


Categories