#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
What’s the special use of UNIONS?
Why are algorithms important in c program?
Is array name a pointer?
Explain how can I prevent another program from modifying part of a file that I am modifying?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
Which are low level languages?
What is the use of #define preprocessor in c?
Write a code to remove duplicates in a string.
What is the difference between malloc() and calloc()?
How can I call fortran?
Is it better to use a macro or a function?
What would be an example of a structure analogous to structure c?
What is a built-in function in C?
What is multidimensional arrays
What is the difference between test design and test case design?