#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
Write a program to reverse a given number in c?
What is difference between array and structure in c?
What does return 1 means in c?
What is %g in c?
Why C language is a procedural language?
What is the difference between functions abs() and fabs()?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What are the 3 types of structures?
Is c procedural or functional?
what are bit fields? What is the use of bit fields in a structure declaration?
What is the use of printf() and scanf() functions?
Define circular linked list.
write a program to create a sparse matrix using dynamic memory allocation.
explain what is fifo?
Explain what is meant by high-order and low-order bytes?