Consider the following statements : S1 : Three address code is linear representation of syntax tree. S2 : With triples representation optimization can change the execution order.
Which of the above is correct ?
A
BothS1andS2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
None of these
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
OnlyS2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
OnlyS1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is DOnlyS1 ∙S1iscorrect ∙ with triple, optimization cannot change the execution order but with indirect triple we can.