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


main()
{
static int ivar=5;
printf("%d",ivar--);
if(ivar)
main();
}

Answers were Sorted based on User's Feedback



main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }..

Answer / amit

In GCC compiler 54321 is the correct answer.

Is This Answer Correct ?    29 Yes 0 No

main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }..

Answer / suresh kallam

4 3 2 1 0

Is This Answer Correct ?    0 Yes 3 No

main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }..

Answer / sindhujah

4

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More C Interview Questions

why i join syntel?

23 Answers   ABC, Syntel, TCS,


What is selection sort in c?

0 Answers  


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

0 Answers  


What are nested functions in c?

0 Answers  


Explain low-order bytes.

0 Answers  


What is the process to create increment and decrement stamen in c?

0 Answers  


How do you declare a variable that will hold string values?

0 Answers  


Which is better oop or procedural?

0 Answers  


how we do lcm of two no using c simple if while or for statement

1 Answers  


what is the difference between global variable & static variable declared out side all the function in the file.

2 Answers  


How important is structure in life?

0 Answers  


What is wrong with this code?

0 Answers  


Categories