title: How to store words in an array in C?
body: <p>I want to store an array of words in C</p>
  
  <p>To be more specific i want to form an array like this:</p>
  
  <pre><code>a_cool_array_name={"first","second","third","fourth","fifth"};
  </code></pre>
  
  <p>i tried using:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main()
  {
      /*i have tried using both single and double quotation marks */
  
      char array1[4];
      array1[0]='hello';
      array1[1]='world';
      array1[2]='its';
      array1[3]='me';
      printf("%s",array1[0]);
  }
  </code></pre>
  
  <blockquote>
    <p>I have tried using both single and double quotations however <b>BOTH</b> fail</p>
  </blockquote>
  
  <p>In the single quotations the program crashes the moment i try to build and run it. In case of double quotation marks the program doesn't even compile at all.
  It throws up an error which looks something like this</p>
  
  <blockquote>
    <p>8:11: error: assignment makes integer from pointer without a cast</p>
  </blockquote>
  
  <p>Whats the difference in using single and double quotations in strings and such? <br><b>AND</b>
  <br>
  How do i make an array of words?</p>
  
  <p>Is there any other way of storing words other 2D array? which pretty messes some things up... :(</p>