title: Pass an array to function using pointer in C?
body: <p>First I declare an array <code>a</code> with 10 elements. Then I call the function bubbleSort
      <code>bubbleSort( a, 10);</code> 
  where bubbleSort is a function declared as 
  <code>void bubbleSort(int* const array, const int size)</code></p>
  
  <p>My question is if "array" is a pointer- which means it stored the address of array <code>a</code> (<code>array= &amp;a [0]</code>) then how can we understand these terms <code>array[1]</code>, <code>array[2]</code>, <code>array[3]</code>... in the function <code>bubbleSort</code>?</p>
  
  <p>It is the bubble sort program and this part is very confusing for me.</p>