Multiple choice technology programming languages

The inserting of the code of a called function at the point where the function gets called is achieved by using

  1. Inline functions

  2. virtual functions

  3. Both A and B

  4. None of the Above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Inline functions work by substituting the function body directly at the point of call, eliminating function call overhead. This is different from virtual functions, which use dynamic dispatch through vtables. The insertion of code at call point is the defining characteristic of inline functions.