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

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

what would be output of the above program and justify your
answer?

}

Answer Posted / biren

we can't call a main function with in main.

Is This Answer Correct ?    7 Yes 32 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

2161


What is string in c language?

1167


Is c high or low level?

1016


Write a program to show the change in position of a cursor using c

1076


What is derived datatype in c?

1103


What is difference between arrays and pointers?

1084


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1289


What does c mean in basketball?

1003


What is #error and use of it?

1287


What is the most efficient way to count the number of bits which are set in an integer?

1070


What is the hardest programming language?

1164


Why is c faster?

1118


What oops means?

1010


What does struct node * mean?

1028


What is main function in c?

1088