title: Difference between pointer and array
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/3862842/difference-between-char-str-string-and-char-str-string">Difference between char *str=&ldquo;STRING&rdquo; and char str[] = &ldquo;STRING&rdquo; ?</a><br>
    <a href="https://stackoverflow.com/questions/1335786/c-differences-between-pointer-and-array">C: differences between pointer and array</a>  </p>
  </blockquote>
  
  
  
  <p>Hi,</p>
  
  <p>Can anybody tell me the difference between the statements below? </p>
  
  <pre><code>char *p = "This is a test";
  
  char a[] = "This is a test";
  </code></pre>