Stdle #14 · integers · 2026-06-20
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 big: u16 = 0x1234; const small: u8 = @truncate(big); std.debug.print("0x{x}\n", .{small});}Integers