113k views
4 votes
What are lexical errors?

and fi(a==b)
will it be a lexical error or a syntactical error?

User Alani
by
7.8k points

1 Answer

1 vote
and fi(a==b). It should look like this: and if(a==b);
I think it's syntactical error as it will be detected on syntactical phace
User AdaPlease
by
7.5k points