What happens when recursion functions are declared inline?
An inline function replaces the call to the function by the body of the function, thus reducing the overhead of saving the context in stack. This is good for functions which are small in size and called occasionally. A recursive function calls an instance of it and thus can be a deeply nested. In this case if we define the recursive function as inline, it would replace every call to itself with the body of function and thus eating up a lot of code space.