What is the use of keyword VOLATILE in C?



What is the use of keyword VOLATILE in C?..

Answer / pawan

It prevent the (pseudo)compiler from applying any
optimizations on the code

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More C Interview Questions

What is difference between structure and union with example?

0 Answers  


What is the significance of scope resolution operator?

0 Answers   Agilent, ZS Associates,


Differentiate between full, complete & perfect binary trees.

0 Answers  


I have a function which accepts, and is supposed to initialize,a pointer, but the pointer in the caller remains unchanged.

1 Answers  


Why main is used in c?

0 Answers  






Why & is used in scanf in c?

0 Answers  


What is null pointer constant?

0 Answers  


What is bss in c?

0 Answers  


write a program to find the frequency of a number

4 Answers   Infosys,


Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

0 Answers  


what is default constructor?

2 Answers   HCL,


c pgm count no of lines , blanks, tabs in a para(File concept)

2 Answers  


Categories