title: Define char array pointer with size
body: <p>I want a cross between the two declarations below:</p>
  
  <pre><code>char string[6];
  char * string;
  </code></pre>
  
  <p>I need a pointer with a fixed size and I <strong>don't</strong> want to use <code>malloc</code> for something this simple.</p>
  
  <p>All this char array needs to do is be assigned a value and have it retrieved by a function as seen below. (But in a loop hence the separate declaration) What is the best way to do this?</p>
  
  <pre><code>string = "words";
  printf("%s",string);
  </code></pre>