S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which keyword is used to define a public item?

  • (A) export
  • (B) pub
  • (C) open
  • (D) global
  • Correct Answer - Option(B)
  • Views: 42
  • Filed under category Rust
  • Hashtags:

Explanation by: Shyam Dubey

pub makes functions, structs, or modules publicly accessible.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.