Zig concepts

Zig · Comptime

Zig Comptime puzzles

4 Zig puzzles on comptime. Read the snippet, guess the output, then reveal the answer and why Zig behaves that way.