Shift reduce parsers are __________
(a) Top down parser
(b) Bottom up parser
(c) Maybe both
(d) None of the mentioned
The question was asked by my school principal while I was bunking the class.
Origin of the question is Handle of Right sentinel Grammar in chapter Bottom Up Parsing of Compiler