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 output of below code?
main() { static int a=5; printf("%3d",a--); if(a) main(); }

Answer Posted / vikas

output is 5 4 3 2 1

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are there namespaces in c?

1190


Explain what is output redirection?

1247


What is the concatenation operator?

1210


What is malloc calloc and realloc in c?

1426


Is main an identifier in c?

1206


Can 'this' pointer by used in the constructor?

1133


What are the different properties of variable number of arguments?

1204


What is a protocol in c?

1057


What happens if you free a pointer twice?

1135


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1189


How can I copy just a portion of a string?

1368


Did c have any year 2000 problems?

1157


Explain what is wrong in this statement?

1178


write a c program in such a way that if we enter the today date the output should be next day's date.

2240


What is the difference between malloc calloc and realloc in c?

1190