Answer Posted / 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 |
Post New Answer View All Answers
Can static variables be declared in a header file?
What is identifiers in c with examples?
Why c is called a middle level language?
How many loops are there in c?
What is c value paradox explain?
Explain the difference between #include "..." And #include <...> In c?
What are qualifiers and modifiers c?
What are integer variable, floating-point variable and character variable?
What is assignment operator?
What should malloc(0) do?
Does c have function or method?
Whats s or c mean?
What is 1d array in c?
Why c is called a mid level programming language?
What is formal argument?