← Back to archive

Stdle #102 · integers · 2026-09-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 {
const a: i8 = 127;
std.debug.print("{d}\n", .{a +% 1});
}
Integers
4 attempts left

Answer & explanation