title: Cannot cast array to pointer
body: <p>I have the following source:  </p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  void main(int j)
  {
      char arr[10][10];
      char** ptr;
      ptr = arr;
  }
  </code></pre>
  
  <p>when I compile it using VS2010 I get this error:  </p>
  
  <pre><code>error : a value of type "char (*)[10]" cannot be assigned to an entity of type "char **"
  </code></pre>
  
  <p>I thought arrays in c++ were just pointers. So a <code>char[][]</code> could also be <code>char**</code>. What am I doing wrong?</p>