Answers for "a function calling itself"

2

what is it called when a function calls itself

Recursion
Posted by: Guest on August-24-2020
1

recursion

/*Java*/
static void recursion(){ recursion(0); }
static void recursion(int x){
	System.out.println("eheh " + x);
    if(x != 666) recursion(x+1);
}
Posted by: Guest on October-28-2020

Code answers related to "a function calling itself"

Browse Popular Code Answers by Language