title: lvalue error on the 10th line
body: <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;
  void main ()
  {
      clrscr ()   ;
      char a  [5];
      puts ("K?");
      gets (a);
      fflush (stdin);
      if (a = ("K"))
      {
          puts (a);
      }
      else
      {
          puts ("BAE");
      }
      getch ();
  }
  </code></pre>
  
  <p>The 10th line shows an Lvalue error while compiling, please help. this is my first program ever and this is my first day ever on coding and I'm self teaching.</p>