A

Admin • 802.91K Points
Coach

Q. Which symbol is used to reference a variable in Rust?

  • (A) &
  • (B) *
  • (C) #
  • (D) $
  • Correct Answer - Option(A)
  • Views: 7
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin
`&` is used to borrow a variable in Rust (reference).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.