How does recursion really works in computer science?

196 views

How does recursion really works in computer science?

In: 0

5 Answers

Anonymous 0 Comments

Most implementations of recursion use an actual subroutine jump to save current state, invoke the function, and continue after it returns. There are optimizations that some compilers can make to exploit that the function is calling itself, but not all compilers do that.

You are viewing 1 out of 5 answers, click here to view all answers.