What is the real time usage volatile?
Answers were Sorted based on User's Feedback
Answer / stylish_312
volatile int i=10;
main()
{
fun()
{
while(i==10)
{
...
}
printf("This will print..\n");
}
}
ANS:
if we are not using volatile int ,the loop will be keep on
exeecuting,so printf statement will not print...to break
this loop declare the variable as a volatile....
| Is This Answer Correct ? | 8 Yes | 2 No |
Write a program of advanced Fibonacci series.
What is sizeof int in c?
write a c program in such a way that if we enter the today date the output should be next day's date.
what is the disadvantage of using macros?
Write a c program to demonstrate character and string constants?
wat is the output #define VOLEDEMORT _who_must_not_be_named int main() { printf("VOLEDEMORT"); }
How can you invoke another program from within a C program?
What is c language in simple words?
What are c preprocessors?
write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR
what is the use of fflush() function?
What does the message "automatic aggregate intialization is an ansi feature" mean?