What is the use of keyword VOLATILE in C?

Answer Posted / pawan

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

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we assign string to char pointer?

589


How can you tell whether a program was compiled using c versus c++?

620


What is pass by reference in functions?

326


Can a void pointer point to a function?

574


What is string function c?

569






What is modifier & how many types of modifiers available in c?

612


Explain what does the format %10.2 mean when included in a printf statement?

783


Explain setjmp()?

660


What are reserved words?

657


Explain what is wrong with this program statement?

621


Write a program to print numbers from 1 to 100 without using loop in c?

642


What is an lvalue in c?

697


Is null valid for pointers to functions?

614


What is the difference between #include and #include 'file' ?

607


what is a function method?give example?

1915