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 |
How can I implement sets or arrays of bits?
What are the 5 elements of structure?
Explain modulus operator.
what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }
What is c language and why we use it?
Differentiate between static and dynamic modeling.
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
How can I find the modification date of a file?
Describe how arrays can be passed to a user defined function
c program to print a name without using semicolon
21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }
Is javascript written in c?