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 / sireesha

54321

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array in C

1164


What is cohesion in c?

983


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1688


What is a lookup table in c?

1122


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1171


Why we use void main in c?

1173


Explain how can you determine the size of an allocated portion of memory?

1115


How do you override a defined macro?

1273


What is difference between function overloading and operator overloading?

1092


Explain the meaning of keyword 'extern' in a function declaration.

1155


What is string function c?

1026


Where register variables are stored in c?

970


Write a program to print “hello world” without using semicolon?

1123


What is c language used for?

988


What are the advantages and disadvantages of pointers?

1073