Home Modern Forums ISRO

Given the following expression grammar:

E → E ∗ F ∣ F + E ∣ FF → 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 *

Reply To:

Given the following expression grammar:

E → E ∗ F ∣ F + E ∣ FF → 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 *

Up
0
Down
::

nan