Consider the grammar given below E? E+E | E*E | E-E | E/E | E^E | (E) | id Assume that + and ^ have the same but least precedence, * and / have the next higher precedence but the same precedence and finally ^ has the highest precedence. Assume + and ^ associate to the left like * and / and that ^ associates to the right. Choose the correct for the ordered pairs (^,^), (-,-), (+,+), (*,*) in the operator precedence table constructed for the grammar.
(a) All <
(b) All >
(c) < >, =
(d) < > > >
I have been asked this question in homework.
I would like to ask this question from Context Free Grammar topic in portion Contextfree Grammar and Syntax Analysis of Compiler