In a bottom-up evaluation of a syntax directed definition, inherited attributes can
A. always be evaluated
B. be evaluated only if the definition is L-­attributed
C. be evaluated only if the definition has synthesized attributes
D. never be evaluated
Answer:B
In a bottom-up evaluation of a syntax directed definition, inherited attributes can
A. always be evaluated B. be evaluated only if the definition is L-­attributed C. be evaluated only if the definition has synthesized attributes D. never be evaluated