 data-number="6.2">
<h2 data-number="6.2" class="anchored" data-anchor-id="types-of-pointer"><span class="header-section-number">6.2</span> Types of pointer</h2>
<p>In Zig, there are two types of pointers <span class="citation" data-cites="zigdocs">(<a href="references.html#ref-zigdocs" role="doc-biblioref">Zig Software Foundation 2024</a>)</span>, which are:</p>
<ul>
<li>single-item pointer (<code>*</code>);</li>
<li>many-item pointer (<code>[*]</code>);</li>
</ul>
<p>Single-item pointer objects are object