← Back to archive

Stdle #15 · math · 2026-06-21

What does this Zig snippet output?

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

const std = @import("std");
pub fn main() void {
const a: u8 = 200;
const b: u8 = 100;
const c = a +| b;
std.debug.print("{d}\n", .{c});
}
Math
4 attempts left

Answer & explanation