title: Negative Indexing with arrays in C++
body: <p>I am familiar with python's indexing system but not with C++'s... so please help me</p>
  <p>I want to index an array negatively...</p>
  <p>I have tried</p>
  <pre><code>int myarray[5] = {1,2,3,4,5};
  cout &lt;&lt; myarray[-1];
  </code></pre>
  <p>but it is generating some number very big which is not a part of this array...</p>