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

What is linear search?

1146


What do header files do?

1090


What are the types of assignment statements?

1084


What is the main difference between calloc () and malloc ()?

1173


What do you mean by command line argument?

1190


Why is not a pointer null after calling free?

1035


Multiply an Integer Number by 2 Without Using Multiplication Operator

774


How do you do dynamic memory allocation in C applications?

1097


Why structure is used in c?

1204


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2458


Explain what are reserved words?

1118


Apart from dennis ritchie who the other person who contributed in design of c language.

1413


What does nil mean in c?

1289


What is the maximum length of an identifier?

1202


What is a method in c?

1160