title: Array iteration using for loop in C++
body: <p>Lets say we have array with 5 elements and I have to iterate this array using for loop as given below:</p>
  
  <pre><code>int A[5]{2,3,5,9,1};
  for(int i = 0; i&lt;5; i++)
  {
      cout&lt;&lt;i[A];
  }
  </code></pre>
  
  <p>I am able to iterate using this(i[A]), please explain how it works?</p>