What are recursive functions? Can we make them in line?



What are recursive functions? Can we make them in line?..

Answer / Shahanawaz Ali Khan

Recursive functions are functions that call themselves either directly or indirectly within their own definition. They are useful for solving problems that can be broken down into smaller, simpler versions of the same problem.nIn C, it's not possible to make recursive functions inline as inline functions are expanded at compile time and the expansion process cannot handle recursion.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Embedded Systems AllOther Interview Questions

Why we use embedded systems?

1 Answers  


If your database was under a lot of strain, what are the first few things you might consider to speed it up?

1 Answers  


Explain the software analysis process, such as code analysis, code metrics, and system risk analysis or software reliability.

1 Answers  


Tell me why is java mostly used in embedded systems?

1 Answers  


Explain what is embedded system in a computer system?

1 Answers  


What is continuous integration? Have you used it and why is it important?

1 Answers  


Tell me what are the qualifiers in c?

1 Answers  


How can you reduce memory requirements in embedded systems?

1 Answers  


Tell me how many types of ipc mechanism you know?

1 Answers  


What trade offs do you have for resource contention?

1 Answers  


What are the advantages and disadvantages of embedded system?

1 Answers  


Tell me can we put breakpoint inside isr?

1 Answers  


Categories