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

Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

0 Answers   CSC, Wipro,


Why can't I perform arithmetic on a void* pointer?

0 Answers  


WAP – represent a char in binary format

4 Answers   Motorola, Wipro,


Difference between C and Embedded C?

1 Answers  


If the static variable is declared as global, will it be same as extern?

1 Answers   Samsung,






stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

0 Answers  


main() { int i; printf("%d",((i=1)*i-- - --i*(i=-3)*i++ + ++i)); } ans is 24 bt how?pls tell smbody............

3 Answers  


What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?

2 Answers  


who is the father of C Language?

20 Answers   CTS, UST,


What is output redirection?

0 Answers  


what is the disadvantage of using macros?

1 Answers   Wipro,


How will you delete a node in DLL?

0 Answers   GrapeCity,


Categories