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

a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

1050


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

1112


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1921


What are the types of pointers?

1055


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

10164


application attempts to perform an operation?

1928


Why is c called a mid-level programming language?

1168


Why c is called procedure oriented language?

1009


What does == mean in texting?

1238


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1051


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

2123


Do you have any idea how to compare array with pointer in c?

1008


main() { printf("hello"); fork(); }

1161


What is #line?

1016


What do you know about the use of bit field?

1006