Beginner C++
Q26 / 100

What is operator overloading?

Correct! Well done.

Incorrect.

The correct answer is B) Defining custom behavior for operators when applied to user-defined types

B

Correct Answer

Defining custom behavior for operators when applied to user-defined types

Explanation

Operator overloading lets you define + for your class: Vector operator+(const Vector& other) const.

Progress
26/100