A parser with the valid prefix property is advantageous because it __________
(a) Detects errors
(b) None of the mentioned
(c) Errors are passed to the text phase
(d) All of the mentioned
The question was asked at a job interview.
The doubt is from Bottom-Up Parsing-1 topic in division Bottom Up Parsing of Compiler