Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

#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 / tatukula

in above program variable 'i' is declared as global integer ..so i=0...thats why while() condition gets failed and
prints 'hello'

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is assert and when would I use it?

1010


What is methods in c?

1100


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

1157


What does & mean in scanf?

1111


What is the process to create increment and decrement stamen in c?

1061


write a programming in c to find the sum of all elements in an array through function.

2180


What are the different types of endless loops?

1080


What is function prototype in c with example?

1086


What is a function simple definition?

1097


Sir i need notes for structure,functions,pointers in c language can you help me please

2418


What are conditional operators in C?

1100


How do you determine the length of a string value that was stored in a variable?

1125


What is sizeof c?

1077


What are the two forms of #include directive?

1169


List the variables are used for writing doubly linked list program.

2034