Advanced Embedded Systems Question:
Download Questions PDF

When one must use recursion function? Mention what happens when recursion functions are declared inline?

Advanced Embedded Systems Interview Question
Advanced Embedded Systems Interview Question

Answer:

Recursion function can be used when you are aware of the number of recursive calls is not excessive. Inline functions property says whenever it will called, it will copy the complete definition of that function. Recursive function declared as inline creates the burden on the compilers execution.

Download Advanced Embedded Systems Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me which bit of the flag register is set when output overflows to the sign bit?Explain me why do we need virtual device drivers when we have physical device drivers?