Summary
Full Transcript
►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join ►Lesson Description: In this lesson I show you a recursive function in C++, primarily to show that recursion is allowed in the language. However, there is a limit to the number of recursive calls that can be made. The reason for this limit, is that you only have so much 'stack memory'. Some of the information stored in stack memory, is what is stored in the 'stack frame' of each function call. The call stack thus canot grow too large, and when making recursive calls, we sometimes have to be careful with this. Note: In the future we will revisit 'stack memory' as a concept beyond the idea of a call stack shown here. ►YouTube Channel: https://www.youtube.com/c/MikeShah ►Please like and subscribe to help the channel!
