Choose the correct alternative and justify it.
The advantage of inline function is
A. it takes less memory
B. it takes less time to compile
C. it takes less time to execute
D. It is easy to write.
The correct answer is option C: it takes less time to execute
Explanation
No function call overhead happens; therefore, high program speed is achieved.
Comments
Leave a comment