What Are The Call Stack And Stack Frames In Recursive Programming?

Опубликовано: 30 Сентябрь 2024
на канале: Code With Huw
5,400
135

Huw Collingbourne is the author of “The Little Book Of Recursion”.

Recursion playlist:    • Recursion for Programmers  

What exactly is a function call? In order to know how function calls work you need to understand the call stack. The call stack is a stack of chunks of memory (stack frames) each of which stores the state of a function. You need to understand stack frames in order to understand recursion.

I teach a more in-depth course on recursion here: http://www.bitwisecourses.com/

I have written a book about recursion, “The Little Book Of Recursion”. You can find more about that here: http://bitwisebooks.com/books/little-...

You can buy The Little Book Of Recursion from Amazon:
Amazon (US) https://amzn.to/2JjrJtq
Amazon (UK) https://amzn.to/2YCYx5N
Or search for its ISBN: 978-1913132057