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 ?