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

print the palindrome numbers in between 0 to n

1 Answers  


the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0

1 Answers  


int i=~0; uint j=(uint)i; j++; printf(“%d”,j);

1 Answers  


wats SIZE_T meant for?

1 Answers  


what is the difference between NULL & NUL keywords in C?

3 Answers  


What does 3 periods mean in texting?

0 Answers  


What is #include stdio h and #include conio h?

0 Answers  


please give code for this 1 2 4 7 11 16

11 Answers   Intel, Wipro,


What is const volatile variable in c?

0 Answers  


How can I call fortran?

0 Answers  


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

0 Answers   Case, IBM,


What are categories used for in c?

0 Answers  


Categories