By default function with minimum lines of code is declared & defined inside class becomes Inline function

Q.  By default, if a function with minimum lines of code is declared and defined inside the class becomes Inline function.
- Published on 17 Jul 15

a. True
b. False

ANSWER: True
 

    Discussion

  • Brijesh   -Posted on 24 Oct 15
    By default, if a function with minimum lines of code is declared and defined inside the class becomes Inline function. If a program explicitly uses Inline Function, then the function is expanded inline at compile time. It reduces Function call overhead

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)