Multiple choice

Which of the following functions is used to perform operator overloading in C++?

  1. Inline function

  2. Operator function

  3. Virtual function

  4. None of these

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

This is a special function used to perform operator overloading in C++.