Lesson 9 of 13 · +130 xp

Struct

Custom type.

Explained simply

Your task

Write const Point = struct { x: i32, y: i32 };

struct.zig
← Back