R

Ravina • 3.96K Points
Extraordinary

Q. Which macro is used to format strings without printing?

  • (A) format!
  • (B) print!
  • (C) write!
  • (D) concat!
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category Rust
  • Hashtags:

Explanation by: Ravina

`format!` creates a formatted String.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.