Rust
Lesson 1 of 8
13%
Free Section Starter (Lesson 1)
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
RUST Code Editor
1
2
3
4
5
6
7
8
9
10