A

Admin • 833.24K Points
Coach

Q. Which of the following is used to format strings in Rust?

  • (A) printf!
  • (B) concat!
  • (C) format!
  • (D) stringify!
  • Correct Answer - Option(C)
  • Views: 29
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

`format!` is used to format strings without printing them.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.