It is illegal to declare a recursive function as inline. Even a function is declared as inline compiler judges it to be inline or not. Many compilers can also inline expand some recursive functions; recursive macros are typically illegal.
What happens when recursion functions are declared inline?
Category: Embedded Systems Interview Questions.