R

Ravina • 3.96K Points
Extraordinary

Q. Which keyword is used to match multiple patterns?

  • (A) or
  • (B) if
  • (C) |
  • (D) &
  • Correct Answer - Option(C)
  • Views: 7
  • Filed under category Rust
  • Hashtags:

Explanation by: Ravina
The `|` operator is used to match multiple patterns in `match`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.