Question 163Asked in DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)

C++ provides inline functions to facilitate a reduced function call overhead mainly for ______.

  1. Anon-member functions
  2. Blibrary functions
  3. Csmall functions
  4. Dlarge functions
Show answerHide answer

Correct answer: (C) small functions

Explanation

Inline functions put the function body at the call site, which removes call overhead. This is useful mainly for small, frequently called functions.

From DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 1 (8:30 AM)

This is question 163 of DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 1 (8:30 AM). 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.