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

How do you use a pointer to a function?

1087


Do you know the use of fflush() function?

1065


What is pass by value in c?

1070


When should volatile modifier be used?

1013


Explain pointers in c programming?

1116


What is a macro in c preprocessor?

1103


how do you programme Carrier Sense Multiple Access

1969


What are predefined functions in c?

1100


Which driver is a pure java driver

1616


What is #define?

1115


What is the purpose of 'register' keyword?

1100


What is non linear data structure in c?

1030


Tell me when is a void pointer used?

1183


An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array

1140


How many types of functions are there in c?

1145