Given the following expressions of a grammar E→E*F|F+E|F F→F– F| id Which of…

Given the following expressions of a grammar

E→E*F|F+E|F

F→F– F| id

Which of the following is true?

  1. A.

    * has higher precedence than +

  2. B.

    - has higher precedence than *

  3. C.

    + and - have same precedence

  4. D.

    + has higher precedence than *

Attempted by 236 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…