ction id="pointer-arithmetic" class="level2" data-number="6.3">
<h2 data-number="6.3" class="anchored" data-anchor-id="pointer-arithmetic"><span class="header-section-number">6.3</span> Pointer arithmetic</h2>
<p>Pointer arithmetic is available in Zig, and they work the same way they work in C. When you have a pointer that points to an array, the pointer usually points to the first element in the array, and you can use pointer arithmetic to advance this pointer and access the other elements in the array.</p