πŸ“Š Rust
Q. Which of the following is a valid way to print to the console in Rust?
  • (A) echo("Hello")
  • (B) print("Hello")
  • (C) println!("Hello")
  • (D) console.log("Hello")
πŸ’¬ Discuss
βœ… Correct Answer: (C) println!("Hello")

Explanation: Rust uses the macro 'println!' to print to the console.

Explanation by: Admin
Rust uses the macro 'println!' to print to the console.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
33
Total Visits
πŸ“½οΈ
3 mo ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
80%
Success Rate