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

what is the diff b/w static and non static variables in C.
Give some examples plz.

Answer Posted / parth ujenia

main()
{
int i=5;

while(i!=0)
{
printf("%d",i--);
main();
}
getch();
}

output: 54321

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who invented bcpl language?

1194


What are the properties of union in c?

1052


How do you determine a file’s attributes?

1078


What does %d do in c?

959


Difference between strcpy() and memcpy() function?

1141


Write a code to determine the total number of stops an elevator would take to serve N number of people.

1255


Which is better pointer or array?

1023


Are enumerations really portable?

1025


How can I determine whether a machines byte order is big-endian or little-endian?

1055


What are keywords in c with examples?

1082


What is type qualifiers?

1130


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1968


plz let me know how to become a telecom protocol tester. thank you.

2189


Explain threaded binary trees?

1157


What is the use of #define preprocessor in c?

1074