S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which keyword is used to create a lifetime parameter?

  • (A) lifetime
  • (B) &life
  • (C) 'a
  • (D) $life
  • Correct Answer - Option(C)
  • Views: 9
  • Filed under category Rust
  • Hashtags:

Explanation by: Shyam Dubey
A lifetime is annotated using a single quote like 'a.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.