in Compiler Design retagged by
1,852 views
0 votes
0 votes
For which of the following situations, inherited attribute is a natural choice?
(a) Evaluation of arithmetic expression
(b) Keeping track of variable declaration
(c) Checking for the correct use of L-values and R-values
(d) All of the above
in Compiler Design retagged by
1.9k views

1 Answer

1 vote
1 vote
option b is correct only.

1 comment

can you please explain a little more?

in option C, is it left values, right values?
0
0