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?
What is the order of calling for the constructors and destructors in case of objects of inherited classes?
Why do we need a infinite loop in embedded systems development? What are the different ways by which you can code in a infinite loop?
Category: Embedded Systems Interview Questions.