Answer Posted / nikhil
Basically, it is a type qualifier.
a volatile data type is used at optimizer level.
Generally, in the embedded coding, When the optimizer is Set
on "favor size". The data type declaration as volatile
declares to compiler that the value of this data type can
change beyond the program flow(like interrupts.
Otherwise if the optimizer is enable, the program malfunctions.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is ambagious result in C? explain with an example.
Why do we need arrays in c?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What should malloc(0) do?
How can I invoke another program or command and trap its output?
What is the purpose of void pointer?
What is pre-emptive data structure and explain it with example?
Can you tell me how to check whether a linked list is circular?
Write a program to print fibonacci series without using recursion?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Explain what is the use of a semicolon (;) at the end of every program statement?
How would you obtain the current time and difference between two times?
Explain what will the preprocessor do for a program?
Calculate 1*2*3*____*n using recursive function??
What is the difference between array and pointer?