#include<stdio.h>
int fun();
int i;
int main()
{
while(i)
{
fun();
main();
}
printf("hello \n");
return 0;
}
int fun()
{
printf("hi");
}
answer is hello.how??wat is tat while(i) mean?
Answer Posted / agita
in response to the previous answer...
there is no storage class specification for i..so by default
it
is auto..if an auto variable is not initiallized it would
give a garbage value..then how come while(0)....?
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What are structural members?
Which is better oop or procedural?
What are identifiers in c?
What are the different types of endless loops?
which is an algorithm for sorting in a growing Lexicographic order
Difference between linking and loading?
What is the use of pointers in C?
Define macros.
What is a pointer on a pointer in c programming language?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
If errno contains a nonzero number, is there an error?