The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
61 views

asked in Compiler Design by Junior (973 points)
edited by | 61 views
0
B is the answer..
0
Yes answer is B , but i have a doubt ...... there is an indirect right recursion with respect to @ (due to A --> B) , so we shouldn't consider that ???
0
Yes we don't consider that indirect right recursion. But I don't know why we do so!
0
Because if you will try to solve [email protected]@4...then we can make two different parse trees to justify above.. one will do ([email protected])@4 and other [email protected]([email protected])
0
So in practice @ can show both left as well as right asociativity
0
Yes you are right! In this way @ is both left and right associative which is not possible.
0
I think all options are correct except last one, please correct me if iam wrong.
+1
Yeah D is the correct answer

As A,B and C are correct statment

Please log in or register to answer this question.

Related questions

0 votes
1 answer
1
+1 vote
2 answers
2
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,588 questions
54,197 answers
187,536 comments
71,152 users