Regular expressions


#1

Given the following expressions of a grammar
E->E*F/F+E/F
F->F-F/id
which of the following is true?

A)* has higher precedence than +
B)- has higher precedence than *
C)+ and - have same precedence
D)+ has higher precedence than *


#2

Can look at a similar question here:
-> https://gateoverflow.in/668/gate2000-2-21-isro2015-24