Zig concepts

Zig · Option

Zig Option puzzles

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