Compiler-Design
October 7, 2023Operating-Systems
October 7, 2023Compiler-Design
Question 24 |
In the following grammar
X ::= X ⊕ Y/Y Y ::= Z * Y/Z Z ::= id
Which of the following is true?
‘⊕’ is left associative while ‘*’ is right associative | |
Both ‘⊕’ and ‘*’ is left associative | |
‘⊕’ is right associative while ‘*’ is left associative | |
None of the above |
Question 24 Explanation:
⊕ is left associative.
* is right associative.
Correct Answer: A
Question 24 Explanation:
⊕ is left associative.
* is right associative.
Subscribe
Login
0 Comments