Multiple choice

Which of the following functions in C++ is used for performing short term calculation?

  1. Memory allocation function

  2. Inline function

  3. Member function

  4. Default function

  5. Friend function

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

This is the function in C++ used for performing short term calculation and consisting of one or two statements only.