2081 9

BIT153 ยท 2081 ยท 5 marks

Explain advantages and disadvantages of inline function.

Explain advantages and disadvantages of inline function. [5]

Object Oriented ProgrammingChapter 5: Function Features and Inline FunctionsInline functions

An inline function is a function declared with the inline keyword that requests the compiler to replace the function call with the actual function body code at the point of invocation, rather than performing a normal function call. --- - The function body is substituted directly at the call site....