title: Pick randomly string from array in C
body: <pre><code>void pick() {
      char* words[2];
      words[0] = "blah";
      words[1] = "hmm";
  
      char random;
      srand(time(NULL));
      random = words[rand() % 2];
      printf(random);
      return;
  }
  </code></pre>
  
  <p>This is my code and I want to pick randomly a word from words array but when I run it the compiler says: [Warning] assignment makes integer from pointer without a cast [enabled by default]</p>