A

Admin • 833.24K Points
Coach

Q. Which trait allows using the `+` operator for custom types?

  • (A) Clone
  • (B) Add
  • (C) Plus
  • (D) Append
  • Correct Answer - Option(B)
  • Views: 25
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

`Add` trait enables overloading of the `+` operator.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.