← Back to archive

Stdle #20 · math · 2026-06-26

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

Answer & explanation