#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 happens if you free a pointer twice?
Explain how do you convert strings to numbers in c?
What is context in c?
What are shell structures used for?
What are type modifiers in c?
What does the message "automatic aggregate intialization is an ansi feature" mean?
What is a program flowchart?
What is dynamic dispatch in c++?
What is the advantage of a random access file?
how do you programme Carrier Sense Multiple Access
Is there any data type in c with variable size?
What is variable declaration and definition in c?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
Explain the difference between #include "..." And #include <...> In c?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(