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 the use of the function in c?

573


What is the sizeof () operator?

596


Tell us something about keyword 'auto'.

638


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1229


What is pointer in c?

707






Can you explain the four storage classes in C?

621


What is data structure in c language?

574


What is the c language function prototype?

617


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

955


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

620


Is it valid to address one element beyond the end of an array?

656


What is calloc()?

602


Why c is called a mid level programming language?

587


Explain how can I write functions that take a variable number of arguments?

588


How can I trap or ignore keyboard interrupts like control-c?

592