A

Admin • 833.24K Points
Coach

Q. Which keyword is used to define a structure in Rust?

  • (A) class
  • (B) object
  • (C) struct
  • (D) data
  • Correct Answer - Option(C)
  • Views: 32
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

`struct` is used to define a custom data type in Rust.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.