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 / vishwanath pillay

void f1()
{
.....
if(condition)
{
f2();
....
}
}
void f2()
{
....
....
f1();
}

void main()
{
f1();
}


On closer look u'll find that the program goes lopping
itself again and again untill the condition in satified.
Once the cond. is met it will exit the loop and terminate
the prog.
But there is 1 important thing that:- the func's call is
indirect.
this is Indirect Recurssion.

Is This Answer Correct ?    29 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are global variables static in c?

1129


What is difference between stdio h and conio h?

1338


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1885


What is a const pointer in c?

1093


Can main () be called recursively?

1080


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

5422


What does stand for?

1058


What are the different data types in C?

1168


Do pointers need to be initialized?

1046


What is the use of a conditional inclusion statement in C?

1029


How can a number be converted to a string?

1274


What language is lisp written in?

1200


Explain modulus operator. What are the restrictions of a modulus operator?

984


What is a constant and types of constants in c?

1090


How do we open a binary file in Read/Write mode in C?

1209