title: c++ pointers:-why is this code not running
body: <pre><code>int main(int argc, char** argv) {
  char a[2][5]={"hell","worl"};
  
  char **p;
  p=a;  // error here
  cout&lt;&lt;*(*(a+1)+1);
  cout&lt;&lt;endl;
  cout&lt;&lt;(*a)[2];
  return 0;
  }
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>C:\Dev-Cpp\main.cpp [Error] initializer-string for array of chars is too long [-fpermissive]
  </code></pre>