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
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
What is the right type to use for boolean values in c?
Why is sizeof () an operator and not a function?
Which header file is used for clrscr?
How can you pass an array to a function by value?
Why doesnt that code work?
what are the 10 different models of writing an addition program in C language?
What are c preprocessors?
Explain what are the __date__ and __time__ preprocessor commands?
What is "Duff's Device"?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Why do we use static in c?
Differentiate between calloc and malloc.
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321