1.

Compiler can diagnose __________(a) Grammatical errors only(b) Logical errors only(c) Grammatical and logical errors(d) None of the mentionedThe question was asked in my homework.I want to ask this question from Data Structure for Representing Parsing Table in chapter Bottom Up Parsing of Compiler

Answer» CORRECT choice is (a) Grammatical errors only

Easy explanation: Only SYNTACTICAL errors can be DETECTED by the compiler.


Discussion

No Comment Found

Related InterviewSolutions