The main purpose of an inline function in C++ is to:
Show answerHide answer
Correct answer: (C) Reduce function-call overhead
Explanation
The compiler may replace the call with the function body.
Correct answer: (C) Reduce function-call overhead
Explanation
The compiler may replace the call with the function body.
This is question 136 of DSSSB TGT Computer Science Full Mock Test 4. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.