Beginner
C++
Q33 / 100
What does the inline keyword suggest for a function?
Correct! Well done.
Incorrect.
The correct answer is B) The compiler should substitute the function body at call sites to avoid call overhead
B
Correct Answer
The compiler should substitute the function body at call sites to avoid call overhead
Explanation
inline is a suggestion (not a command) to the compiler. Modern compilers often inline regardless of the keyword based on optimization flags.
Progress
33/100