n class="co">// ... define: idxs = (2, 2, 1, 2)</span></span>
<span id="cb6-5"><a href="#cb6-5" aria-hidden="true" tabindex="-1"></a><span class="dt">array</span>[<span class="dv">4</span>, <span class="dv">3</span>] <span class="dt">int</span> d</span>
<span id="cb6-6"><a href="#cb6-6" aria-hidden="true" tabindex="-1"></a>d = c[idxs];    <span class="co">// result: d = ((7, 11, 13), (7, 11, 13),</span></span>
<span id="cb6-7"><a href="#cb6-7" aria-hidden="true" tabindex="-1"></a>                <span class