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 the below program and how it is?

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

Answer Posted / anuj awasthi

above the program output is = 54321

Is This Answer Correct ?    18 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What oops means?

999


Explain about C function prototype?

1084


Is r written in c?

1149


What is line in c preprocessor?

1052


What are the valid places to have keyword “break”?

1086


Which function in C can be used to append a string to another string?

1217


If null and 0 are equivalent as null pointer constants, which should I use?

1212


Explain how can I pad a string to a known length?

1189


What do you understand by normalization of pointers?

1058


How will you find a duplicate number in a array without negating the nos ?

2130


What is a program flowchart?

1192


What is difference between union All statement and Union?

1105


Why we not create function inside function.

2193


what are the 10 different models of writing an addition program in C language?

1893


Is calloc better than malloc?

1015