0 votes 0 votes I am having difficulty in finding the type of errors like if given a statement, if I have to tell which type of error it is ( syntax or semantic). Can anyone help me with it,explain it to me in a simple language by giving examples. Compiler Design compiler-design compilation-phases + – Jyoti Kumari97 asked Jan 29, 2019 Jyoti Kumari97 401 views answer comment Share Follow See 1 comment See all 1 1 comment reply balchandar reddy san commented Jan 29, 2019 reply Follow Share Refer to this for possible lexical errors: https://stackoverflow.com/questions/5535319/what-can-create-a-lexical-error-in-c/5535366#5535366 1 votes 1 votes Please log in or register to add a comment.