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
What is integer constants?
Explain how do you use a pointer to a function?
What does d mean?
What are global variables and explain how do you declare them?
can we change the default calling convention in c if yes than how.........?
What is c standard library?
What is the purpose of realloc()?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What is 'bus error'?
What is "Hungarian Notation"?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
Explain how do you declare an array that will hold more than 64kb of data?
What is New modifiers?