S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What is the default mutability of variables in Rust?

  • (A) Mutable
  • (B) Immutable
  • (C) Constant
  • (D) Volatile
  • Correct Answer - Option(B)
  • Views: 16
  • Filed under category Rust
  • Hashtags:

Explanation by: Shyam Dubey

Variables in Rust are immutable by default.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.