Stdle #133 · arrays · 2026-10-17
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 matrix = [2][3]u8{ .{ 1, 2, 3 }, .{ 4, 5, 6 }, }; std.debug.print("{d}\n", .{matrix[1][2]});}Arrays