A

Admin • 833.24K Points
Coach

Q. What is a tuple in Rust?

  • (A) A type that holds only strings
  • (B) A fixed-size collection of values of different types
  • (C) A mutable array
  • (D) A recursive data structure
  • Correct Answer - Option(B)
  • Views: 35
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

A tuple is a fixed-size collection of heterogeneous values.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.