Are there any example of Mutual recursion?

Posted by Yassir on Stack Overflow See other posts from Stack Overflow or by Yassir
Published on 2010-04-27T20:53:31Z Indexed on 2010/04/27 21:43 UTC
Read the original article Hit count: 240

Filed under:
|

Are there any example for a recursive function that call an other one which calls the first one too ?

example

function1()
{    
    //do something 
    f2();
    //do something
}

function2()
{
    //do something 
    f1();
    //do something
}

© Stack Overflow or respective owner

Related posts about recursion

Related posts about math