← Back to archive

Stdle #115 · scope · 2026-09-29

What does this Rust snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

const N: usize = 3;
fn main() {
let arr = [0; N];
println!("{}", arr.len());
}
Scope
4 attempts left

Answer & explanation