Which grammar rules violate the requirement of the operator grammar? A, B, C are variables and a, b, c are terminals
the above question is incomplete, in original question paper option is given like this:
Hence answer is D which include both grammar.
dkvg1892 From where this question is taken
A/c to Operator precedence Grammar Two production should not be Adjacent (for exp as they are given in Option A) to each other .And there should not be any Eps Production .Why two production should not be Adjacent to each other is. In general when we write any Mathematical expression in Let take the C Language we are not going to have 2 identifier side by side that is why we should see that Production should not be side by side.
So Correct Option Must be A and D because they violate the condition .
Option A will be right option for it.
Because in between two variable there should be exist a terminal then such grammar is called as operator grammar.
Example of operator grammar.
@Arjun Sir, My GO Book is returned back ...