Values & References17 / 18
Up next

Many-item pointers

const std = @import("std");

pub fn main() void {
    var arr = [_]i32{ 5, 6, 7 };
    // [*]T has no length; you index it like C
    const many: [*]i32 = &arr;
    std.debug.print("{d} {d}\n", .{ many[0], many[2] });
}
What you're solving

[*]T is a bare pointer you index