title: Pointing to a Matrix
body: <p>I wanted to declare a pointer which would point to a matrix and retrieve a value back from the matrix:</p>
  
  <pre><code>float *p;
  float ar[3][3];
  
  [..]//give values to ar[][]
  
  p = ar;
  
  //Keep on printing values in the 3 X 3 matrix
  for (int i = 0; i &lt; 10; i++)
  {
  p = p + i;
  cout &lt;&lt; *p &lt;&lt; ", ";
  }
  </code></pre>