title: What's the meaning of -2[array]
body: <p>I recently stumbled upon following code</p>
  
  <pre><code>int array[] = {10, 20, 30};
  cout &lt;&lt; -2[array];
  </code></pre>
  
  <p>I understand that <code>array</code> is a pointer to the first element of the array but then what does <code>[pointer]</code> means and then we write <code>-2</code> in front of it which looks very alien to me.</p>