 <p>I don't understand what exactly you are trying to do. If you want to get an array of pointers from your array of structs, you will need to make a loop. It would look like this (i did not try it)</p> <pre><code>person * friends_ptrs[NUM_OF_FRIENDS]; for (int i = 0; i &lt; NUM_OF_FRIENDS; i++) friends_ptrs[i] = friends + i; </code></pre>