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


Please Help Members By Posting Answers For Below Questions

Is main is user defined function?

1209


What is difference between %d and %i in c?

1301


How does pointer work in c?

1194


What is the use of clrscr?

1156


Can you add pointers together? Why would you?

1182


Which function in C can be used to append a string to another string?

1274


Explain what is dynamic data structure?

1221


Is it better to bitshift a value than to multiply by 2?

1143


What are shell structures used for?

1095


Write a program for finding factorial of a number.

1142


Can you return null in c?

1229


Explain how can I right-justify a string?

1097


Differentiate between ordinary variable and pointer in c.

1252


What are data types in c language?

1109


Where does the name "C" come from, anyway?

1214