← Back to archive

Stdle #43 · math · 2026-07-19

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", .{@clz(@as(u8, 1))});
}
Math
4 attempts left

Answer & explanation