Given the following expression grammar: E → E ∗ F ∣ F + E ∣ F F → F − F ∣ id…
PYQ TPSC Computer/IT Posts 2025
Given the following expression grammar:
E → E ∗ F ∣ F + E ∣ F
F → F − F ∣ id
Which of the following is true? ISRO 2015
- A.
* has higher precedence than +
- B.
- has higher precedence than *
- C.
+ and - have same precedence
- D.
+ has higher precedence than *
Attempted by 713 students.
Sign up free to check your answer
Sign up freeLoading lesson…

