recategorized by
653 views
0 votes
0 votes

Can you give me an overall idea how to identify these type of errors when given a code snippet .

  • Lexical Error
  • Syntax Error
  • Semantic Error

I only know how to find Syntax error. ie like semicolon missing after statement , incorrect use of for loops etc ...
ut , How to find other types of error ?

recategorized by

Please log in or register to answer this question.

Related questions

1 votes
1 votes
1 answer
3
Mrityudoot asked Nov 12, 2023
238 views
How to differentiate between Lexical, semantic and syntax error from a given code snippet.Why is this lexical error and not syntax error? $ y = 0x5i; $