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 indirect recursion? give an example?

Answer Posted / hussain

void fun1()
{
static i=0;
if(i<5)
fun2();
}
void fun2()
{
printf("Recursion from fun2 to fun1 which is indirect
recursion\n");
fun1();
}
main()
{
fun1();
}

Is This Answer Correct ?    52 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If fflush wont work, what can I use to flush input?

1100


Which type of language is c?

1072


What are the uses of null pointers?

1100


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

3087


Is array name a pointer?

1028


What are the advantages and disadvantages of pointers?

1070


What are terms in math?

1044


What is the function of this pointer?

1329


What is the difference between void main and main in c?

1156


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

1174


What is an auto variable in c?

1230


Why do we use & in c?

998


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1728


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

1118


Explain what’s a signal? Explain what do I use signals for?

1150