title: Incompatible pointer to character conversion
body: <p>I'm writing a program to write card values into a 52 spot character multi-dimensional array. This program is one test array that I will write as a function into the main program later.<br>
  In the program I initialize a for loop counting by <code>0</code> through <code>51</code>. I use a <code>switch</code> statement modulated by <code>13</code> to assign the card value to the array spot. However, I receive the error pointer to integer conversion also how do I write values to the second spot in the array?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main ()
  {
      char CardValue[52][6];
      int i;
  
      for (i=0;i&lt;52;i++)
      {
          CardValue[i][6]=i;
  CardValue[i];
          switch (i%13)
          {
              case '0': CardValue[i][6] = "ACE";
              break;
  
              case '1': CardValue[i][6] = "2";
              break;
  
              case '2': CardValue[i][6] = "3";
              break;
  
              case '3': CardValue[i][6] = "4";
              break;
  
              case '4': CardValue[i][6] = "5";
              break;
  
              case '5': CardValue[i][6] = "6";
              break;          
  
              case '6': CardValue[i][6] = "7";
              break;
  
              case '7': CardValue[i][6] = "8";
              break;
  
              case '8': CardValue[i][6] = "9";
              break;
  
              case '9': CardValue[i][6] = "10";
              break;
  
              case '10': CardValue[i][6] = "JACK";
              break;
  
              case '11': CardValue[i][6] = "QUEEN";
              break;
  
              case '12': CardValue[i][6] = "KING";
  
          }
  </code></pre>