in Compiler Design retagged by
268 views
0 votes
0 votes

pls explain c option 

in Compiler Design retagged by
by
268 views

1 Answer

1 vote
1 vote
Best answer
both a and c are correct.

Option C says that in SDD if they all are synthesis attributes means attributes of current levels are synthesized by using attribute values of child level. So you can always have an order of evaluation as LEFT TO RIGHT, BOTTOM TO TOP.

In general, you can calculate/evaluate attribute values by calling the POST-ORDER type of function.
edited by