An LR-parser can detect a syntactic error as soon as __________
(a) The parsing starts
(b) It is possible to do so a left-to-right scan of the input
(c) It is possible to do so a right-to-left scan of the input
(d) Parsing ends
I have been asked this question during an online interview.
Question is taken from LR Parser in chapter Bottom Up Parsing of Compiler