title: C - [Error] invalid conversion from 'char' to 'const char*' [-fpermissive]
body: <p>There's a bunch of threads about C++, but I'm stuck with regular C here and can't find an answer anywhere.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;
  #include &lt;string.h&gt;
  
  main() {
      char word[26], letter, reverse[26], length;
      printf("Enter word: ");
      scanf("%s", &amp;word);
  
      length=strlen(word);
      for (int i=0; i&lt;=length; i++) {
          letter = word[length-i];
          strcpy(reverse, letter);
          printf("%c\n", reverse);
      }
  
      getch();
  }
  </code></pre>
  
  <p>I'm getting errors as the title states.</p>
  
  <blockquote>
    <p>13    25  ~   [Error] invalid conversion from 'char' to 'const char*'
    [-fpermissive]</p>
  
  <pre><code>51    18  C:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\include\string.h  [Note]
  </code></pre>
    
    <p>initializing argument 2 of 'char* strcpy(char*, const char*)'</p>
  </blockquote>
  
  <p>What the code should do is reverse the written word and type it out line by line, by each last letter.
  Etc. - Type in "food" and the program should output:</p>
  
  <p>d</p>
  
  <p>od</p>
  
  <p>ood</p>
  
  <p>food</p>
  
  <p>I know I messed up somewhere in the 'letter', but I have no clue how to fix it.
  Also I'm trying to avoid using std::, personal prefrence.</p>