1.

The YACC takes C code as input and outputs_________(a) Top down parsers(b) Bottom up parsers(c) Machine code(d) None of the mentionedI had been asked this question in an interview.The origin of the question is YACCParser Generator topic in division Context Free Grammars and Languages of Automata Theory

Answer»

The correct CHOICE is (b) Bottom up PARSERS

To explain I would say: The YACC takes C CODE as INPUT and produces shift reduce parsers in C,also known as Bottom up parsers which execute C snippets with the associated rule.



Discussion

No Comment Found

Related InterviewSolutions