Embedded Software Engineer Question:

Tell me what are inline functions?

Tweet Share WhatsApp

Answer:

The ARM compilers support inline functions with the keyword __inline. These functions have a small definition and the function body is substituted in each call to the inline function. The argument passing and stack maintenance is skipped and it results in faster code execution, but it increases code size, particularly if the inline function is large or one inline function is used often.

Download Embedded Software Engineer PDF Read All 100 Embedded Software Engineer Questions
Previous QuestionNext Question
Explain how to reduce interrupt latency?Tell me what is embedded system in a computer system?