#include <stdio.h>
#include <conio.h>
void main ()
{
    clrscr ()   ;
    char a  [5];
    puts ("K?");
    gets (a);
    fflush (stdin);
    if (a = ("K"))
    {
        puts (a);
    }
    else
    {
        puts ("BAE");
    }
    getch ();
}
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.
 
     
     
     
     
    