top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

C++: Which one of the following is true for an inline function.

0 votes
7,402 views
AIt executes faster as it is treated as a macro internally
BIt executes faster because it priority is more than normal function
CIt doesn’t executes faster compared to a normal function
DNone of the above.

Correct Option: 1  

Explanation:
As inline function gets expanded at the line of call like a macro it executes faster.
posted Nov 26, 2017 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

...