A

Admin • 833.24K Points
Coach

Q. What does the `static` keyword define?

  • (A) A mutable variable
  • (B) A runtime constant
  • (C) A globally available constant
  • (D) A lifetime annotation
  • Correct Answer - Option(C)
  • Views: 25
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

`static` defines a global constant with a `'static` lifetime.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.