A

Admin • 828.03K Points
Coach

Q. Which type is used to represent true or false in Rust?

  • (A) boolean
  • (B) bool
  • (C) bit
  • (D) flag
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin
`bool` is the Boolean type in Rust, representing true or false.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.