RUST
Free Section Starter Challenge
15 min
1. Rust Program Structure & the println! Macro
Overview: Understand `fn main()`, expressions vs statements, and macro invocations.
Concept & Syntax Guide
In Rust, `println!` is a macro (identified by `!`) that checks formatting strings at compile time for maximum speed and safety.
Hands-On Practice Exercise
Print a System Status Message
Write a Rust program that prints "Stro Hafta Rust Core Initialized" followed by a newline.
Target Output:
Stro Hafta Rust Core Initialized
Need a hint? Click here to reveal
Hint: Check syntax carefully and make sure your code contains:
Stro Hafta Rust Core Initialized
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10