where do we use volatile keyword?
Answer / achal ubbott
the keyword volatile is more used in embedded systems
programming, especially when we are dealing with the
special function registers of a microcontroller. e.g.
status register of UART or some other peripheral devices.
As you may know that volatile asks the compiler not to
subject the variable in question to optimization.
Is This Answer Correct ? | 1 Yes | 3 No |
Should I learn data structures in c or python?
What is keyword in c?
How many levels of indirection in pointers can you have in a single declaration?
0 Answers Agilent, ZS Associates,
write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.
1 Answers iGate, Shashi, Source Bits, Subex,
Explain what’s a signal? Explain what do I use signals for?
Explain how do you search data in a data file using random access method?
why Language C is plateform dependent
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?
write a program to print the one dimensional array.
What is the difference between realloc() and free()
#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}
What is unsigned int in c?