← Back to archive

Stdle #10 · integers · 2026-06-16

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", .{@min(@as(i32, 3), @as(i32, 7))});
std.debug.print("{d}\n", .{@max(@as(i32, 3), @as(i32, 7))});
}
Integers
2 lines
4 attempts left

Answer & explanation