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

if-statement is not properly declared
so error is there in the program

Is This Answer Correct ?    6 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c# a good language?

1015


How can I rethow can I return a sequence of random numbers which dont repeat at all?

1192


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1074


What is echo in c programming?

1029


What is property type c?

1092


What is non linear data structure in c?

1032


What do you understand by friend-functions? How are they used?

1210


What does c mean in standard form?

1185


Explain what are binary trees?

1079


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

2754


What is && in c programming?

1166


How many levels of indirection in pointers can you have in a single declaration?

1092


provide an example of the Group by clause, when would you use this clause

2199


Why doesnt long int work?

1044


How does free() know explain how much memory to release?

1057