Embedded Software Engineer Question:
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.
Previous Question | Next Question |
Explain how to reduce interrupt latency? | Tell me what is embedded system in a computer system? |