← Back to archive

Stdle #79 · comptime · 2026-08-24

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 {
std.debug.print("{d}\n", .{@sizeOf(u32)});
}
Comptime
4 attempts left

Answer & explanation