title: Get address for an array element
body: <p>I'm developing a C program and I have a question about pointers and arrays.</p>
  
  <p>I have the following <strike>array</strike> pointer:</p>
  
  <pre><code>GLuint *vboIds;
  </code></pre>
  
  <p>And the following function prototype:</p>
  
  <pre><code>void glGenBuffers(GLsizei n, GLuint *buffers);
  </code></pre>
  
  <p>The following statement is correct:</p>
  
  <pre><code>glGenBuffers(1, vboIds);
  </code></pre>
  
  <p>But I want to pass to <code>glGenBuffers</code> the second index of vboIds as second parameter for the function. I have put this:</p>
  
  <pre><code>glGenBuffers(1, &amp;&amp;vboIds[1]);
  </code></pre>
  
  <p>Is this correct?</p>
  
  <p>Thanks.</p>