← Back to archive

Stdle #69 · option · 2026-08-14

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(?*const i32)});
std.debug.print("{d}\n", .{@sizeOf(?u8)});
}
Option
2 lines
4 attempts left

Answer & explanation