144k views
3 votes
What are lexical errors?
and fi(a==b)
will it be a lexical error or a syntactical error?

1 Answer

5 votes
Lexical errors are rejected and unrecognized particular syntax. The numbers you put will be recognized and also the letters will be recognized. And everything else is rejected. The given opreation will be recognized as syntax error because the whole format is wrong even the operation given.
User Paul Richards
by
8.2k points