1.

Given the following expression grammar :E → E ⋆ F | F + E | FF→ F - F| idWhich 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 ⋆
Answer» C. + and - have same precedence


Discussion

No Comment Found

Related MCQs