Consider the following grammar: E→E∗F∣F F→F+G∣G G→id∣ϵ In the above grammar:

Consider the following grammar: E→E∗F∣F F→F+G∣G G→id∣ϵ In the above grammar:

  1. A.

    * is left associative, + is right associative

  2. B.

    + is left associative, * is right associative

  3. C.

    Both are left associative

  4. D.

    Both are right associative

Attempted by 152 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…