Q. Consider the following translation scheme. S → ER R → *E{print("*");}R | ε E→ F + E {print("+");} | F F → (S) | id {print(id.value);} Here id is a token that represents an integer and id.value represents the corresponding integer value. For an input '2 * 3 + 4', this translation scheme prints
β
Correct Answer: (D)
2 3 4+*
You must be Logged in to update hint/solution
Discussion
Question Analytics
245
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
99%
Success Rate