A

Admin • 828.03K Points
Coach

Q. Which data type in Rust can store a dynamically sized string?

  • (A) &str
  • (B) String
  • (C) char
  • (D) str
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin
`String` is a growable, heap-allocated string type in Rust.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.