Embedded Software Engineer Question:
Download Questions PDF

Tell me what are inline functions?

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain how to reduce interrupt latency?Tell me what is embedded system in a computer system?