Get premium membership and access questions with answers, video lessons as well as revision papers.

What is an inline function.Give an advantage and a disadvantage of using an inline function when coding a computer program

      

What is an inline function.Give an advantage and a disadvantage of using an inline function when coding a computer program

  

Answers


Davis
An inline function code is expanded in line.This means that the function is not actually called.This overhead associated with the function call and return mechanism.Its advantage is that it increases the execution speed. Its disadvantage is that it can increase the size of the program
Githiari answered the question on November 17, 2017 at 05:33


Next: Distinguish between a constructor and a destructor and specify when they are executed in a computer code.
Previous: Explain 5 application of internet in a learning institution

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions