S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which macro is used for formatted string output without newline?

  • (A) println!
  • (B) write!
  • (C) print!
  • (D) formatln!
  • Correct Answer - Option(C)
  • Views: 8
  • Filed under category Rust
  • Hashtags:

Explanation by: Shyam Dubey
print! writes to stdout without appending a newline.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.