Multiple choice

Operator Overloading is _____.

  1. Making C+ operators work with objects

  2. Giving C++ operators more than they can handle

  3. Giving new meanings to existing C++ operators

  4. Making new C++ operators

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

Operator overloading allows programmers to define custom behavior for existing C++ operators when used with user-defined types (objects). For example, you can overload the + operator to work with string objects to concatenate them. Option C correctly describes this as giving new meanings to existing operators. Options A and B are misleading, and D is incorrect because you cannot create entirely new operators - only redefine existing ones.