what is volatile in c language?

Answer Posted / justin arokiaraj.r

Volatile is used for direct memory access.it can be updated by both hardware and software .so unused volatile will not be optimized in compilation
.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between far and near pointers?

780


How can I manipulate strings of multibyte characters?

795


What is local and global variable in c?

819


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

836


What happens if you free a pointer twice?

792


What are operators in c?

766


Explain how can I convert a number to a string?

840


What is main () in c language?

819


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

2027


Difference between macros and inline functions? Can a function be forced as inline?

900


What is a double c?

752


What standard functions are available to manipulate strings?

785


What are the 5 types of inheritance in c ++?

748


How can I sort more data than will fit in memory?

862


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1017