← Back to archive

Stdle #2 · numbers · 2026-06-08

What does this Rust snippet output?

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

fn main() {
let x: u32 = 4_000_000_000;
println!("{}", x.wrapping_add(1_000_000_000));
}
Numbers
4 attempts left

Answer & explanation