A

Admin • 802.91K Points
Coach

Q. Which macro is used to print to the console in Rust?

  • (A) printline!
  • (B) echo!
  • (C) println!
  • (D) write!
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin
`println!` is a macro to print to the console followed by a newline.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.