define inline function write any two advantages of inline function
Answers
Answered by
1
Answer:
Inline function is one of the important feature of C++. So, let’s first understand why inline functions are used and what is the purpose of inline function?
When the program executes the function call instruction the CPU stores the memory address of the instruction following the function call, copies the arguments of the function on the stack and finally transfers control to the specified function.
Similar questions