S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What does the format! macro return?

  • (A) Prints to screen
  • (B) Returns formatted String
  • (C) Creates a file
  • (D) Allocates memory
  • Correct Answer - Option(B)
  • Views: 27
  • Filed under category Rust
  • Hashtags:

Explanation by: Shyam Dubey

format! returns a formatted String instead of printing.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.