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(); }



What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main..

Answer / vikas

output is 5 4 3 2 1

Is This Answer Correct ?    11 Yes 2 No

Post New Answer

More C Interview Questions

main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then wat will be the output }

2 Answers  


What are the rules for identifiers in c?

0 Answers  


Why doesn't C support function overloading?

2 Answers  


How are 16- and 32-bit numbers stored?

0 Answers  


what is a stack

6 Answers  


Ca some one please help me with aC code to allow user enter numbers from 1 to 20 without repeating and prnt the sum of those numbers thnx

4 Answers  


what is the difference between. system call and library function?

2 Answers   CDAC, Satyam,


What is Function Pointer? Explain with example?

3 Answers  


What is hashing in c?

0 Answers  


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

0 Answers  


What is a header file?

0 Answers  


Does sprintf put null character?

0 Answers  


Categories