Object Oriented Programming20795 marksFunctions
What is inline function? Why it is used? Write a program to illustrate inline function.
What is inline function? Why it is used? Write a program to illustrate inline function. [5]
An inline function is a C++ enhancement feature in which the compiler replaces the function call with the actual body (definition) of the function at compile time, instead of making a regular function call at runtime. To declare an inline function, the keyword inline is placed before the function...