R

Ravina • 3.96K Points
Extraordinary

Q. Which type is used to represent a dynamically sized string slice?

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

Explanation by: Ravina
&str is a dynamically sized string slice type.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.