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

main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

1446


How we can insert comments in a c program?

1069


What are the back slash character constants or escape sequence charactersavailable in c?

1122


Explain the difference between #include "..." And #include <...> In c?

981


Why can’t we compare structures?

1225


Why dont c comments nest?

999


Why & is used in c?

1116


What are near, far and huge pointers?

1012


How can a program be made to print the name of a source file where an error occurs?

1173


What is d scanf?

1025


can we implement multi-threads in c.

1086


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

1168


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

2041


How do I read the arrow keys? What about function keys?

1016


Should I learn data structures in c or python?

975