Home »
MCQs »
C++ MCQs
An inline function is faster than a normal function?
114. An inline function is faster than a normal function?
- Yes
- No
Answer: A) Yes
Explanation:
Yes, an inline function is faster than a normal function because it does not require a context switch from function call to function definition.